Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/pkgsite: golang source src net http should add HttpRequestToHttpsAddress. every version I add this func too tired #68833

Closed
runsys opened this issue Aug 10, 2024 · 3 comments
Labels
Milestone

Comments

@runsys
Copy link

runsys commented Aug 10, 2024

What is the URL of the page with the issue?

none

What is your user agent?

none

Screenshot

No response

What did you do?

only add "\r\nLocation: "+HttpRequestToHttpsAddress ++ "\r\n\r\n"
in http request to https server return message.
it is for no http server auto redirect to https.

What did you see happen?

it can not auto redirect to https.

What did you expect to see?

add up code

@runsys runsys added the pkgsite label Aug 10, 2024
@gopherbot gopherbot added this to the Unreleased milestone Aug 10, 2024
@gabyhelp
Copy link

Related Issues and Documentation

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

@runsys
Copy link
Author

runsys commented Aug 10, 2024

yes,it is there. none empty change to 302.

@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Aug 11, 2024
@bddjr
Copy link

bddjr commented Sep 17, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants