mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-21 01:51:57 +03:00
daa5e5ebd4
This update solves security issue but bumps HTTP Flask version from HTTP/1.0 to HTTP/1.1.
70 lines
1.4 KiB
Plaintext
70 lines
1.4 KiB
Plaintext
* ------------------------------------------------------------------------------
|
|
* Executing entry 2
|
|
*
|
|
* Entry options:
|
|
* verbose: true
|
|
*
|
|
* Cookie store:
|
|
*
|
|
* Request:
|
|
* GET http://localhost:8000/hello
|
|
*
|
|
* Request can be run with the following curl command:
|
|
* curl 'http://localhost:8000/hello'
|
|
*
|
|
> GET /hello HTTP/1.1
|
|
> Host: localhost:8000
|
|
> Accept: */*
|
|
> User-Agent: hurl/~~~
|
|
>
|
|
* Response: (received 12 bytes in ~~~ ms)
|
|
*
|
|
< HTTP/1.1 200 OK
|
|
< Server: Werkzeug/~~~ Python/~~~
|
|
< Date: ~~~
|
|
< Content-Type: text/html; charset=utf-8
|
|
< Content-Length: 12
|
|
< Server: Flask Server
|
|
< Connection: close
|
|
<
|
|
*
|
|
* ------------------------------------------------------------------------------
|
|
* Executing entry 4
|
|
*
|
|
* Entry options:
|
|
* very-verbose: true
|
|
*
|
|
* Cookie store:
|
|
*
|
|
* Request:
|
|
* GET http://localhost:8000/hello
|
|
*
|
|
* Request can be run with the following curl command:
|
|
* curl 'http://localhost:8000/hello'
|
|
*
|
|
** Hostname localhost was found in DNS cache
|
|
** Trying 127.0.0.1:8000...
|
|
** Connected to localhost (127.0.0.1) port 8000 (#3)
|
|
> GET /hello HTTP/1.1
|
|
> Host: localhost:8000
|
|
> Accept: */*
|
|
> User-Agent: hurl/~~~
|
|
>
|
|
* Request body:
|
|
*
|
|
** Mark bundle as not supporting multiuse
|
|
** Closing connection 3
|
|
* Response: (received 12 bytes in ~~~ ms)
|
|
*
|
|
< HTTP/1.1 200 OK
|
|
< Server: Werkzeug/~~~ Python/~~~
|
|
< Date: ~~~
|
|
< Content-Type: text/html; charset=utf-8
|
|
< Content-Length: 12
|
|
< Server: Flask Server
|
|
< Connection: close
|
|
<
|
|
* Response body:
|
|
* Hello World!
|
|
*
|