Project

General

Profile

Actions

Support #1945

closed

The http output in lua

Added by wilson green about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Affected Versions:
Label:

Description

can't get Method,uri, Protocol in the API HttpGetRawRequestHeaders.
can't get response code in HttpGetRawResponseHeaders

for example, in one raw http.
The HttpGetRawRequestHeaders will get:

Host: www.xx.com
Connection: keep-alive
Cache-Control: max-age=0
If-Modified-Since: 0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36
Accept: */*
DNT: 1
Referer: http://www.xx.com/
Accept-Encoding: gzip, deflate, sdch
Accept-Language: q=0.8,en-US;
Cookie: 478074328445

miss "GET / HTTP/1.1"

The HttpGetRawResponseHeaders will get :

Server: squid/3.5.20
Date: Wed, 02 Nov 2016 08:12:09 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
Expires: Wed, 02 Nov 2016 08:14:09 GMT
Cache-Control: max-age=120
Vary: Accept-Encoding
Content-Encoding: gzip
Vary: Accept-Encoding

miss HTTP/1.1 200 OK

Actions #1

Updated by Victor Julien about 8 years ago

  • Target version deleted (3.2)
Actions #2

Updated by Victor Julien about 8 years ago

  • Tracker changed from Bug to Support
Actions #3

Updated by Victor Julien almost 8 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF