Skip to content

Line ending support and content length addition #244

@ArnoldBraine

Description

@ArnoldBraine

Is your feature request related to a problem? Please describe.
I was coding a program in C using the winsock library, this requires met to create a message string in which the HTTP code gen helped me loads but it starts to become a problem when you need to escape the \r and \n. Also the generated code that the HTTP code generate suggested didn't work because of the content length not being there

Describe the solution you'd like
add an option to see line endings and add the content-length

Additional context
"POST / HTTP/1.1\r\nHost: 127.0.0.1\r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 10\r\n\r\n{"test":1}\r\n

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions