Get all request and response data as string or json
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 1.1k
- Forks
- 419
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 8
Description
Hi there,
for debugging purposes I want to log all http requests and responses. Therefore; I would be great, if the http.Request and the http.Response classes had a method, which returns all the data, like headers, method, body, status code etc. as a json or a string. Is there some easy way to achieve this, which I haven't noticed yet?
Kind regards
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Dart http.Request and http.Response classes and reviewing how their headers, method, body, and status code are represented. Define the expected string or JSON output for both request and response, then add coverage showing that all requested data is included.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100