>>113-114
1)2)
http://rokka.bbspink.com/pele/erobbs/1285357421/?raw=0.0&
sid=Monazilla%2f2.00%3a4373298c8948z3710L4758p6811a4278j8170k1299y43207q2897a2811s45242k42852u6725y95346g6820L6383H0297o62124l2450n64672G6826N2472L7957N2508x9686O8904U4108793x6855v1216b1499s6811a2729r
UrlEncoded and standard, Error69. should be accepted
http://rokka.bbspink.com/pele/erobbs/1285357421/?raw=0.0&
sid=Monazilla/2.00:4373298c8948z3710L4758p6811a4278j8170k1299y43207q2897a2811s45242k42852u6725y95346g6820L6383H0297o62124l2450n64672G6826N2472L7957N2508x9686O8904U4108793x6855v1216b1499s6811a2729r
non-UrlEncoded and standard, success
http://rokka.bbspink.com/pele/erobbs/1285357421/&raw=0.0&
sid=Monazilla/2.00:4373298c8948z3710L4758p6811a4278j8170k1299y43207q2897a2811s45242k42852u6725y95346g6820L6383H0297o62124l2450n64672G6826N2472L7957N2508x9686O8904U4108793x6855v1216b1499s6811a2729r
non-UrlEncoded and non-standard, Error69. could be accepted because Maru could accept this non-standard and some browser would send this.
http://rokka.bbspink.com/pele/erobbs/1285357421/&raw=0.0&
sid=Monazilla%2f2.00%3a4373298c8948z3710L4758p6811a4278j8170k1299y43207q2897a2811s45242k42852u6725y95346g6820L6383H0297o62124l2450n64672G6826N2472L7957N2508x9686O8904U4108793x6855v1216b1499s6811a2729r
UrlEncoded and non-standard, Error69. could be accepted because Maru could accept this non-standard and some browser would send this.
Please make it accept all of above.
3) Fine. But it is a little hard to branch error condition.
If the server responded with follwoing status code, it made (me) clear.
inputError = "Error 8008135" 404 Not Found what does "input" mean ?
authenticationError = "Error 69" 401 Unauthorized this should be returned only when SID is invalid
or 400 Bad Request because when 401 has been received, IE will open athentication dialog(not sure)
urlError = "Error 666" 400 Bad Request this should be returned in case of 1)2)
timeLimitError = "Error 420" 401 Unauthorized if Error420 means SID expired
If there are some difficulties to send status code in response header, you can use 1st line for indiccating those errors,
and 'Success' which is fixed static string to make detection easily.
I don't have any raw dat response from Maru but I found my old program-code skiped 1st line.
Did Maru return error or success code in 1st line? It can't know now, either.
4) Fine.
With 'raw=0.0' , response header contains "gzip" and content is gzipped correctly.
Without 'raw=0.0' , response header does not contains "gzip" and content is plane text.
■ 2ちゃんねるWiki Part6.0 [プロジェクト・制度解説・FAQなど]
■ このスレッドは過去ログ倉庫に格納されています
115水玉(Mizutama) ◆qHK1vdR8FRIm
2013/09/10(火) 18:40:14.20ID:lT7zOihZ0■ このスレッドは過去ログ倉庫に格納されています
ニュース
- 広末涼子容疑者(44)本鑑定でも薬物検出なし…睡眠薬なども検出されず 被害者とは示談する方向で交渉 ★2 [ひかり★]
- トランプ米大統領、気に入らない報道番組に圧力 連邦通信委員会に「懲罰」促す [おっさん友の会★]
- スマホの回線を乗っ取る、“ニセ基地局”が国内で出現 詐欺SMSを強制送信 携帯各社も対策へ [香味焙煎★]
- 万博の来場者数、開幕翌日は半減して5万人… ★3 [少考さん★]
- すき家に新メニュー「ナポリタン牛丼」登場、ペンネを使ったナポリタンをトッピング、「チーズナポリタン牛丼」なども同時発売 [おっさん友の会★]
- 辛坊治郎氏、万博ネガティブ報道を「そのまま拡散するバカネット民やアホ芸能人、この国滅びる」 [冬月記者★]
- 【大阪万博】ブラジル館「今日オープンします」、インド館「明日完成します」 [476729448]
- 紀藤正樹弁護士「大阪万博のステルス広告のようなSNS発信はヤバい。特に有名人は軒並み機運醸成」 [245325974]
- 出したてザーメンじゅるッ!といっとく🏡
- 🏡🤗なんG仲良しひろば🥰🏡
- 【悲報】経済学者「年収400万円以上の高所得者層の所得税を3倍にするだけで消費税は廃止できるよ。消費税はいらない。24万いいね [257926174]
- 関西経済連合会の松本正義会長(住友電工) 「大阪万博の入場者数は2820万人で合格。 チケット販売は2000万枚は達成可能」 えっ?ん? [485983549]