Skip to content

Set content-length automatically in Reqd.respond_with_string #192

@brendanlong

Description

@brendanlong

I just wrote some code to learn how to use Httpaf and I was confused that all of my requests seemed to hang. After reading the examples, I realized I needed to set the content-length header.

I was wondering though, since Reqd.respond_with_string has the entire response, shouldn't it add this header automatically?

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