-
Notifications
You must be signed in to change notification settings - Fork 22.6k
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
Fix scheme in CORS example code #7447
Conversation
Preview URLsFlawsNone! 🎉 External URLsURL: No new external URLs (this comment was updated 2021-07-30 11:24:09.932596) |
Given that, I think the better fix here would be to replace that reference with |
Should I make a new commit on this existing PR or make a new branch and PR with these changes? |
Please go ahead and add the new commit on this existing PR branch. It’s also find to |
@sideshowbarker I have changed every example to use https, if this is unwanted please let me know. One thing I want to note is that I did not update the images which I would need help with to change as they also use |
Unfortunately I lost the source file of these diagrams, but can you open a follow-up issue? I'm planning to rework the http area starting next Monday, and redoing and improving all these diagrams are in my plans. (But I need to have problems recorded so I don't forget). It would be useful. |
I have opened #7455 regarding this. |
Markus, thanks much, and congrats on landing your first docs change here — welcome aboard 🎉 |
* 'main' of https://github.com/mdn/content: (24 commits) added clarity (mdn#6879) Adds NavigatorUAData (mdn#7280) User-agent client hints API overview, and extensions to Navigator (mdn#7340) chore(deps): bump @mdn/yari from 0.4.658 to 0.4.660 (mdn#7459) Fix scheme in CORS example code (mdn#7447) Fix misstatement in docs about Date() function call (mdn#7454) Fix RTCErrorEvent and RTCError.event (mdn#7453) Fix broken {{page}} by incorporating the right data. (mdn#7451) Clean up some code examples (mdn#7449) Duplicated text from description can be removed. (mdn#7428) (CSS: Web Fonts) - various typographical fixes/improvements (mdn#7355) Drop the Implementations list from “JavaScript language resources” (mdn#7446) Removed links in headings (mdn#7442) Strict correct between primitive type names and wrapper class names (mdn#7439) Fix code indentation (mdn#7440) Fix up notesyntax to new standard (mdn#7437) Fix flaws on CSSOM View's Coordinate systems (mdn#7424) Add missing 'a' in “Using server-sent events” doc (mdn#7434) Removed unnecessary punctation in “Basic Concepts of grid layout” doc (mdn#7435) Fix MediaCapture example flaws (mdn#7425) ...
N/A, I did not see any issue related to this
The example uses
https://
instead ofhttp://
without mentioning that this is wrong. The same example is later referenced withhttp://
on https://github.com/mdn/content/blob/main/files/en-us/web/http/cors/index.html#L216.I found this confusing as I was trying to understand if CORS cares about the scheme and the example implies that it does not without specifically stating that it does or not.