Opened 7 years ago

Closed 6 years ago

#7530 closed enhancement (fixed)

Implement HTTP Requests test helper with Headers

Reported by: hellais Owned by: hellais
Priority: Medium Milestone:
Component: Archived/Ooni Version:
Severity: Keywords: oonib_test_helpers
Cc: giovanni.pellerano@… Actual Points:
Parent ID: #7413 Points:
Reviewer: Sponsor:

Description

Current the test helper in oonib/testhelpers/http_helpers.py does some mangling of the HTTP headers it receives leading it to not returning in the payload of the response the proper capitalization of the requests.

We should use as base the modified Headers() that was implement for Agent and use this with a twisted based HTTP server.

Such HTTP Server must get the list of HTTP headers that a client sends to it and return it in the response payload as a JSON encoded string.

Child Tickets

Change History (2)

comment:1 Changed 7 years ago by hellais

Parent ID: #7413

comment:2 Changed 6 years ago by hellais

Resolution: fixed
Status: newclosed

This was implemented a while ago.

Note: See TracTickets for help on using tickets.