Skip to content

There is a function to get the full http request string? #2822

Description

@saltbo

I want get the full http request from the Request like this

GET / HTTP/1.1
Host: localhost:8110
User-Agent: curl/7.79.1
Accept: */*

I only found the hyper::body::to_bytes(), it's used for request body...

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-featureCategory: feature. This is adding a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions