>>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■ このスレッドは過去ログ倉庫に格納されています
ニュース
- 【コンビニ】お支払いは現金またはファミペイでお願いします 話題のファミマのレジ告知は本部主導だった [シャチ★]
- 【サッカー】日本代表、サウジアラビア代表に0ー0ドロー 今予選初の無得点も勝ち点20で2試合残してC組首位が確定!★2 [久太郎★]
- 旧統一教会、献金など年間収入400億円 総資産は1180億円 (東京地裁) [少考さん★]
- 林官房長官「新たな予算措置ではなく決意」 石破総理が“強力な物価高対策”打ち出した件について ★2 [首都圏の虎★]
- 【速報】統一教会に解散命令 オウム真理教などに続き3例目 「民法の不法行為」根拠は初めて 東京地裁 ★3 [お断り★]
- 【野球】350勝投手・米田哲也容疑者、万引きで逮捕 缶チューハイ隠した瞬間を店員に目撃され発覚… 他に惣菜約10点所持 [冬月記者★]
- ヒカキンマジギレ「『お前の1億円は庶民にとっての1万円』だぁ?俺にとっての1億の方が重いわ、命削ってるってーの💢」 [856698234]
- 【悲報】小4小2の姉妹を78歳のトラックで一瞬に亡きものにされた父親「今は何も考えられないです。」 [468391367]
- 識者「糖質制限してるんだよ!カロリーは制限してねえんだよ!😡」
- 統一教会、デモ行進「宗教弾圧やーめーろ!宗教弾圧宗教弾圧宗教弾圧やーめーろ!」 [931948549]
- 急募!くそでかいくものたいじのしかた!たのむはやくきてくれ
- 国民民主党👈こいつが次の選挙で覇権を取れそうな理由、ガチのマジでわからない…… [918057362]