8000 the value of request.ContentLength remains 0 on HTTP POST with body · Issue #253 · go-openapi/runtime · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
the value of request.ContentLength remains 0 on HTTP POST with body #253
Open
@javidnia

Description

@javidnia

when sending an HTTP POST request, having bytes.NewReader(contentBytes) as body, the resulting net/http/request object has

ContnetLength=0

Library versions:
github.com/go-openapi/errors v0.20.2
github.com/go-openapi/runtime v0.24.1
github.com/go-openapi/strfmt v0.21.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0