[tor-bugs] #7412 [Ooni]: First iteration on HTTP test helper
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sat Nov 10 19:37:59 UTC 2012
#7412: First iteration on HTTP test helper
----------------------------+-----------------------------------------------
Reporter: hellais | Owner: hellais
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Ooni | Version:
Resolution: implemented | Keywords: oonib_test_helpers, SponsorH201208
Parent: #7411 | Points:
Actualpoints: |
----------------------------+-----------------------------------------------
Changes (by hellais):
* keywords: oonib_test_helpers => oonib_test_helpers, SponsorH201208
* status: new => closed
* resolution: => implemented
Comment:
This has been implemented. It returns a json dict containing the requests
that the client has sent to it. Here is an example:
$ curl -kis 127.0.0.1:1234
HTTP/1.1 200 OK
Content-Length: 158
Etag: "8d37f1f5b00e7dafb7d02136b307a45a76074ad2"
Content-Type: text/html; charset=UTF-8
Server: cyclone/1.0-rc13
{"request_method": "GET", "request_uri": "/", "request_body": "",
"request_headers": {"Host": "127.0.0.1:1234", "Accept": "*/*", "User-
Agent": "curl/7.27.0"}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7412#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list