http://qb5.2ch.net/test/read.cgi/operate/1366640919/91 91 名前:C ◆Odemonkey. :2013/09/09(月) 19:16:43.35 ID:7z3sJk2k0 Please use the SID from post 90 to test. 0301c⌒っミ `Д)っφ ◆CAkku3YStU (かぶらずし)NGNG?BRZ(10111)http://qb5.2ch.net/test/read.cgi/operate/1366640919/107 107 名前:水玉(Mizutama) ◆qHK1vdR8FRIm :2013/09/10(火) 02:05:17.63 ID:lT7zOihZ0 >>87-91 Hi, I'm a auxiliary developer for 2channel browser 'twintail'. I've examed new nethod to get past-log from rokka.bbspink.com then I found some minor problems. 1) rokka does not receive UrlEncoded SID and returns 'Error69'. Usually parameters of QueryString should be UrlEncoded, Maru did. So most of 2channel browsers send UrlEncoded SID, then it will be failed. But rokka returns Error69 which is authentication eroor, developers would confuse. Please make it to allow receive UrlEndoed SID. 2) The request URL is not standard format. Standard QueryString format is http://server/?<1st key>=<1sr parm>&<2nd key>=<2nd parm>.... But rokka does not use '?'. This makes also developers confusing. Please make it to allow receive standard QueryString. 3) On received dat, 1st line is "rokka.com\n'. dats from 2channel has no such line. This makes imcompatibility fo dats. Please eliminate it.
http://qb5.2ch.net/test/read.cgi/operate/1366640919/108 108 名前:水玉(Mizutama) ◆qHK1vdR8FRIm :2013/09/10(火) 02:58:09.12 ID:lT7zOihZ0 >>107 One more problem, 4) rokka will never return GZiped content even the url specifies 'raw=0.0' which means requesting dat with GZip compressed. The response header did not contain 'GZip' so http clients should process the content as not GZiped, but some browser assumes content is GZiped 'cause the url has 'raw=0.0'. Please maki it working correctly.
http://qb5.2ch.net/test/read.cgi/operate/1366640919/113 113 名前:C ◆Odemonkey. :2013/09/10(火) 16:11:41.53 ID:XOw7rlKd0 >>107 >>108 1) Rokka can now receive encoded URLs 2) The request URL is now standard format. 3) I removed "rokka.bbspink.net" from the first line 4) It will now properly return gzipped pages if raw=0.0 is set.
This is the format for URLS now: http://rokka.bbspink.com/<server>/<board>/<post>/<options>?raw=0.0&sid=<SID>
>>112 Options work correctly. Some standard options: l50 25-35 -45 13- etc
If anyone has any more questions or suggestions for improvement, please tell me right away.
Here is another test SID you can use for testing. It will expire in 5 days.
Monazilla/2.00:4373298c8948z3710L4758p6811a4278j8170k1299y43207q2897a2811s45242k42852u6725y95346g6820L6383H0297o62124l2450n64672G6826N2472L7957N2508x9686O8904U4108793x6855v1216b1499s6811a2729r 0303c⌒っミ `Д)っφ ◆CAkku3YStU (かぶらずし)NGNG?BRZ(10111)http://qb5.2ch.net/test/read.cgi/operate/1366640919/115 115 名前:水玉(Mizutama) ◆qHK1vdR8FRIm :2013/09/10(火) 18:40:14.20 ID:lT7zOihZ0 >>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.