>>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■ このスレッドは過去ログ倉庫に格納されています
ニュース
- 小1女児の頭を木刀で…剣道教室の元指導員の男(53)書類送検 被害女児は脳神経の一部を損傷、後遺症に悩まされる [バイト歴50年★]
- 【芸能】不倫報道・永野芽郁、清純派とは真逆な地元での素顔… 幼なじみ「中学時代は1個上の先輩と付き合っていた」「体育祭の熱量が」 [冬月記者★]
- 【芸能】上沼恵美子 若い店員の接客態度にぼやき「無表情で言い過ぎる。あなたたち、ダメですよ」「昔はお愛想みたいなのがあった」 [jinjin★]
- 【芸能】元ジャンポケ・斉藤慎二被告のバウムクーヘン 他店の商品(480円)に自身のロゴシールを貼り700円で販売していた★3 [冬月記者★]
- ファミリーマート、海苔なしおむすび拡大「海苔を使用しない分コストを抑えられる」 [煮卵★]
- 米政権、相互関税の撤廃拒否 交渉を上乗せ幅縮小に限定 [蚤の市★]
- 2月の人口動態、出生数6.6%減! 1月よりもさらに少子化進む… 岸田ァ、お前何してくれたんだよ… [452836546]
- 【GW暇な奴来い】安価で指定されたものを全力で探してうpするスレ
- 四国に住んでる人に聞きたいんだけど
- 【悲報】百田尚樹「茶道文化バカバカしいw」有本香「こんな器使って演出出来るみたいな美意識自慢のための日本人らしい文化」 [126042664]
- タバコ違法化、日本人の9割が賛成 [384232311]
- 「マジでクソつまんないな」って思った観光地 [275053464]