dart-lang / dart-lang/http

No Host header added.

Open
#381 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
1.1k
Forks
419
Avg merge
4d 14h
Merged PRs (30d)
8

Description

When creating a regular http request and manually using client.send not Header Host is added by default which makes the request fail (normally under 400) against standard web servers like nginx or apache.

Maybe such common header should be added by default? , the same way Content-Type is been added when request.body is set.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.