Skip to content

Use https-scheme for request URIs if secure TLS is used - #167

Merged
WyriHaximus merged 2 commits into
reactphp:masterfrom
clue-labs:https
Apr 16, 2017
Merged

Use https-scheme for request URIs if secure TLS is used#167
WyriHaximus merged 2 commits into
reactphp:masterfrom
clue-labs:https

Conversation

@clue

@clueclue commented Apr 14, 2017

Copy link
Copy Markdown
Member

$request->getUri()->getScheme() will now return https if secure TLS is used and http otherwise.

Builds on top of #146 and #158

@clueclue added this to the v0.7.0 milestone Apr 14, 2017
@clueclue changed the title Use https-scheme for request URIs if secure TLS is used[WIP] Use https-scheme for request URIs if secure TLS is usedApr 14, 2017
@clueclue changed the title [WIP] Use https-scheme for request URIs if secure TLS is usedUse https-scheme for request URIs if secure TLS is usedApr 14, 2017
@clue

clue commented Apr 14, 2017

Copy link
Copy Markdown
MemberAuthor

Updated to work around PHP < 7 not giving access to stream crypto parameters :shipit:

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@clue@jsor@WyriHaximus