Bug #2269

httpReq of POST type doesn't care about noFollow flag

Added by Leonid Protasov over 6 years ago. Updated over 6 years ago.

Status:FixedStart date:10/11/2014
Priority:HighDue date:
Assignee:Andreas Smas% Done:

100%

Category:API
Target version:4.8
Found in version:4.7.324 Platform:Linux

Description

Request is done like:

showtime.httpReq(url[1], { postdata: { o:1 }, noFollow: true });

And in the log we see:

HTTP [DEBUG]: Reusing connection to tpv1o4zrpp.1fichier.com:80 (id=57)
HTTP [DEBUG]: > POST / HTTP/1.1
HTTP [DEBUG]: > Content-Type: application/x-www-form-urlencoded
HTTP [DEBUG]: > Content-Length: 3
HTTP [DEBUG]: > User-Agent: Showtime Linux/x86_64 4.7.324.g5da1c
HTTP [DEBUG]: > Connection: keep-alive
HTTP [DEBUG]: > Accept: */*
HTTP [DEBUG]: > Accept-Encoding: identity
HTTP [DEBUG]: > Host: tpv1o4zrpp.1fichier.com
HTTP-POSTDATA [DEBUG]: 0x000000: 6f 3d 31                                            o=1
HTTP [DEBUG]: http://tpv1o4zrpp.1fichier.com: Response:
HTTP [DEBUG]: < 
HTTP [DEBUG]: Disconnected from tpv1o4zrpp.1fichier.com:80 (id=57) Read error on reused connection
HTTP [DEBUG]: Connected to tpv1o4zrpp.1fichier.com:80 (id=58)
HTTP [DEBUG]: > POST / HTTP/1.1
HTTP [DEBUG]: > Content-Type: application/x-www-form-urlencoded
HTTP [DEBUG]: > Content-Length: 3
HTTP [DEBUG]: > User-Agent: Showtime Linux/x86_64 4.7.324.g5da1c
HTTP [DEBUG]: > Connection: keep-alive
HTTP [DEBUG]: > Accept: */*
HTTP [DEBUG]: > Accept-Encoding: identity
HTTP [DEBUG]: > Host: tpv1o4zrpp.1fichier.com
HTTP-POSTDATA [DEBUG]: 0x000000: 6f 3d 31                                            o=1
HTTP [DEBUG]: http://tpv1o4zrpp.1fichier.com: Response:
HTTP [DEBUG]: < HTTP/1.1 200 OK
HTTP [DEBUG]: < Server: nginx
HTTP [DEBUG]: < Date: Sat, 11 Oct 2014 17:10:59 GMT
HTTP [DEBUG]: < Content-Type: text/html
HTTP [DEBUG]: < Transfer-Encoding: chunked
HTTP [DEBUG]: < Connection: keep-alive
HTTP [DEBUG]: < Vary: Accept-Encoding
HTTP [DEBUG]: < Cache-Control: no-cache
HTTP [DEBUG]: < Expires: Fri, 30 Oct 1998 14:19:41 GMT
HTTP [DEBUG]: < 
HTTP [DEBUG]: Chunked transfer
HTTP [DEBUG]: Parking connection to tpv1o4zrpp.1fichier.com:80 (id=58)
{"Expires":"Fri, 30 Oct 1998 14:19:41 GMT","Cache-Control":"no-cache","Vary":"Accept-Encoding","Connection":"keep-alive","Transfer-Encoding":"chunked","Content-Type":"text/html","Date":"Sat, 11 Oct 2014 17:10:59 GMT","Server":"nginx"}

History

#1 Updated by Leonid Protasov over 6 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Inavlid. The site has 15 minutes timeout so you can get proper POST reply only once in 15 minutes :(

Also available in: Atom PDF