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

feat(http): Replace usage of "payload" with "content" #35063

Closed
wants to merge 190 commits into from

Conversation

bsmth
Copy link
Member

@bsmth bsmth commented Jul 25, 2024

Description

This is a maintenance PR part of work to refresh HTTP docs.

Fixes #20741 which looks like a simple change, but it's trickier because we have to be more abstract to encompass HTTP/1.1 -> HTTP/3 concepts.

Changes:

  • Payload_body -> HTTP_Content
  • Payload_header -> Content_header
  • Contextual update to:
    • Transfer encoding
    • Content encoding
    • 413 status err
  • Other instances of "payload" -> "content" where it makes sense

Motivation

Keeping content up-to-date and useful.

Related issues and pull requests:

@bsmth bsmth requested review from a team as code owners July 25, 2024 15:26
@bsmth bsmth requested review from hamishwillee and removed request for a team July 25, 2024 15:26
@github-actions github-actions bot added Content:HTTP HTTP docs Content:Glossary Glossary entries labels Jul 25, 2024
@bsmth bsmth marked this pull request as draft July 25, 2024 15:26
@github-actions github-actions bot added the size/m [PR only] 51-500 LoC changed label Jul 25, 2024
@bsmth bsmth changed the title feat(http): Replace usage of payload content feat(http): Replace usage of "payload" with content Jul 25, 2024
@bsmth bsmth changed the title feat(http): Replace usage of "payload" with content feat(http): Replace usage of "payload" with "content" Jul 25, 2024
@bsmth bsmth marked this pull request as ready for review July 25, 2024 15:44
Copy link
Contributor

github-actions bot commented Jul 25, 2024

Preview URLs (294 pages)
External URLs (353)

URL: /en-US/docs/Games/Publishing_games/Game_distribution
Title: Game distribution


URL: /en-US/docs/Games/Techniques/2D_collision_detection
Title: 2D collision detection


URL: /en-US/docs/Games/Techniques/Controls_Gamepad_API
Title: Implementing controls using the Gamepad API


URL: /en-US/docs/Games/Techniques/3D_on_the_web
Title: 3D games on the Web


URL: /en-US/docs/Games/Techniques/3D_on_the_web/Building_up_a_basic_demo_with_Babylon.js
Title: Building up a basic demo with Babylon.js


URL: /en-US/docs/Games/Techniques/Async_scripts
Title: Async scripts for asm.js


URL: /en-US/docs/Games/Techniques/3D_collision_detection
Title: 3D collision detection


URL: /en-US/docs/Games/Techniques/Control_mechanisms/Desktop_with_mouse_and_keyboard
Title: Desktop mouse and keyboard controls


URL: /en-US/docs/Games/Techniques/Control_mechanisms/Other
Title: Unconventional controls


URL: /en-US/docs/Games/Tutorials/2D_Breakout_game_pure_JavaScript
Title: 2D breakout game using pure JavaScript


URL: /en-US/docs/Games/Tutorials/HTML5_Gamedev_Phaser_Device_Orientation
Title: 2D maze game with device orientation


URL: /en-US/docs/Games/Tutorials/2D_breakout_game_Phaser/Physics
Title: Physics


URL: /en-US/docs/Games/Tutorials/2D_breakout_game_Phaser/Randomizing_gameplay
Title: Randomizing gameplay


URL: /en-US/docs/Glossary/TLS
Title: Transport Layer Security (TLS)


URL: /en-US/docs/Glossary/First_CPU_idle
Title: First CPU idle


URL: /en-US/docs/Glossary/Reflow
Title: Reflow


URL: /en-US/docs/Glossary/Raster_image
Title: Raster image


URL: /en-US/docs/Glossary/JavaScript
Title: JavaScript


URL: /en-US/docs/Glossary/Fork
Title: Fork


URL: /en-US/docs/Glossary/ECMAScript
Title: ECMAScript


URL: /en-US/docs/Glossary/Color_space
Title: Color space


URL: /en-US/docs/Glossary/Zstandard_compression
Title: Zstandard compression


URL: /en-US/docs/Glossary/Mozilla_Firefox
Title: Mozilla Firefox


URL: /en-US/docs/Glossary/Python
Title: Python


URL: /en-US/docs/Glossary/Robots.txt
Title: Robots.txt


URL: /en-US/docs/Glossary/Developer_Tools
Title: Developer Tools


URL: /en-US/docs/Glossary/Responsive_web_design
Title: Responsive web design


URL: /en-US/docs/Glossary/Serializable_object
Title: Serializable object


URL: /en-US/docs/Glossary/Speed_index
Title: Speed index


URL: /en-US/docs/Glossary/SQL
Title: SQL


URL: /en-US/docs/Glossary/SGML
Title: SGML


URL: /en-US/docs/Glossary/Adobe_Flash
Title: Adobe Flash


URL: /en-US/docs/Glossary/HTML5
Title: HTML5


URL: /en-US/docs/Glossary/ECMA
Title: ECMA


URL: /en-US/docs/Glossary/UAAG
Title: UAAG


URL: /en-US/docs/Glossary/POP
Title: POP3


URL: /en-US/docs/Glossary/Breadcrumb
Title: Breadcrumb


URL: /en-US/docs/Glossary/Content_header
Title: Content header


URL: /en-US/docs/Glossary/Google_Chrome
Title: Google Chrome


URL: /en-US/docs/Glossary/First_meaningful_paint
Title: First Meaningful Paint


URL: /en-US/docs/Glossary/Whitespace
Title: Whitespace


URL: /en-US/docs/Glossary/Key
Title: Key


URL: /en-US/docs/Glossary/Forbidden_header_name
Title: Forbidden header name


URL: /en-US/docs/Glossary/HTTP_Content
Title: HTTP Content


URL: /en-US/docs/Glossary/Microsoft_Edge
Title: Microsoft Edge


URL: /en-US/docs/Glossary/SPA
Title: SPA (Single-page application)


URL: /en-US/docs/Glossary/Brotli_compression
Title: Brotli compression


URL: /en-US/docs/Glossary/Prerender
Title: Prerender


URL: /en-US/docs/Glossary/Jitter
Title: Jitter


URL: /en-US/docs/Learn/Common_questions/Tools_and_setup/Using_GitHub_pages
Title: How do I use GitHub Pages?


URL: /en-US/docs/Learn/Common_questions/Tools_and_setup/What_are_browser_developer_tools
Title: What are browser developer tools?


URL: /en-US/docs/Learn/Common_questions/Web_mechanics/What_is_a_domain_name
Title: What is a Domain Name?


URL: /en-US/docs/Learn/Common_questions/Web_mechanics/What_is_a_URL
Title: What is a URL?


URL: /en-US/docs/Learn/Common_questions/Design_and_accessibility/Thinking_before_coding
Title: How do I start to design my website?


URL: /en-US/docs/Learn/Common_questions/Design_and_accessibility/Design_for_all_types_of_users
Title: How can we design for all types of users?


URL: /en-US/docs/Learn/CSS/Howto/Create_fancy_boxes
Title: Create fancy boxes


URL: /en-US/docs/Learn/CSS/First_steps
Title: CSS first steps


URL: /en-US/docs/Learn/CSS/First_steps/Styling_a_biography_page
Title: Styling a biography page


URL: /en-US/docs/Learn/CSS/CSS_layout
Title: CSS layout


URL: /en-US/docs/Learn/CSS/CSS_layout/Positioning
Title: Positioning


URL: /en-US/docs/Learn/CSS/CSS_layout/Responsive_Design
Title: Responsive design


URL: /en-US/docs/Learn/CSS/CSS_layout/Multicol_skills
Title: Test your skills: Multicol


URL: /en-US/docs/Learn/CSS/CSS_layout/Position_skills
Title: Test your skills: Positioning


URL: /en-US/docs/Learn/CSS/CSS_layout/Legacy_Layout_Methods
Title: Legacy layout methods


URL: /en-US/docs/Learn/CSS/CSS_layout/Grid_skills
Title: Test your skills: Grid


URL: /en-US/docs/Learn/CSS/CSS_layout/Practical_positioning_examples
Title: Practical positioning examples


URL: /en-US/docs/Learn/CSS/CSS_layout/Flexbox_skills
Title: Test your skills: Flexbox


URL: /en-US/docs/Learn/CSS/CSS_layout/Floats_skills
Title: Test your skills: Floats


URL: /en-US/docs/Learn/CSS/Building_blocks
Title: CSS building blocks


URL: /en-US/docs/Learn/CSS/Building_blocks/Advanced_styling_effects
Title: Advanced styling effects


URL: /en-US/docs/Learn/CSS/Building_blocks/Writing_Modes_Tasks
Title: Test your skills: Writing modes and logical properties


URL: /en-US/docs/Learn/CSS/Building_blocks/Values_tasks
Title: Test your skills: Values and units


URL: /en-US/docs/Learn/CSS/Building_blocks/Images_media_form_elements
Title: Images, media, and form elements


URL: /en-US/docs/Learn/CSS/Building_blocks/Tables_tasks
Title: Test your skills: Tables


URL: /en-US/docs/Learn/CSS/Building_blocks/Sizing_tasks
Title: Test your skills: Sizing


URL: /en-US/docs/Learn/CSS/Building_blocks/Test_your_skills_backgrounds_and_borders
Title: Test your skills: Backgrounds and borders


URL: /en-US/docs/Learn/CSS/Building_blocks/Debugging_CSS
Title: Debugging CSS


URL: /en-US/docs/Learn/CSS/Building_blocks/Box_Model_Tasks
Title: Test your skills: The box model


URL: /en-US/docs/Learn/CSS/Building_blocks/Organizing
Title: Organizing your CSS


URL: /en-US/docs/Learn/CSS/Building_blocks/Cascade_tasks
Title: Test your skills: The Cascade


URL: /en-US/docs/Learn/CSS/Building_blocks/Overflow_Tasks
Title: Test your skills: Overflow


URL: /en-US/docs/Learn/CSS/Building_blocks/Selectors/Selectors_Tasks
Title: Test your skills: Selectors


URL: /en-US/docs/Learn/CSS/Building_blocks/Images_tasks
Title: Test your skills: Images and form elements


URL: /en-US/docs/Learn/CSS/Styling_text
Title: CSS styling text


URL: /en-US/docs/Learn/CSS/Styling_text/Styling_links
Title: Styling links


URL: /en-US/docs/Learn/CSS/Styling_text/Fundamentals
Title: Fundamental text and font styling


URL: /en-US/docs/Learn/CSS/Styling_text/Web_fonts
Title: Web fonts


URL: /en-US/docs/Learn/Getting_started_with_the_web/CSS_basics
Title: CSS basics


URL: /en-US/docs/Learn/Getting_started_with_the_web/What_will_your_website_look_like
Title: What will your website look like?


URL: /en-US/docs/Learn/Getting_started_with_the_web/Installing_basic_software
Title: Installing basic software


URL: /en-US/docs/Learn/Getting_started_with_the_web/How_the_Web_works
Title: How the web works


URL: /en-US/docs/Learn/Getting_started_with_the_web/JavaScript_basics
Title: JavaScript basics


URL: /en-US/docs/Learn/Getting_started_with_the_web/The_web_and_web_standards
Title: The web and web standards


URL: /en-US/docs/Learn/Forms
Title: Web form building blocks


URL: /en-US/docs/Learn/Forms/Test_your_skills:_Basic_controls
Title: Test your skills: Basic controls


URL: /en-US/docs/Learn/Forms/How_to_structure_a_web_form
Title: How to structure a web form


URL: /en-US/docs/Learn/Forms/Test_your_skills:_Advanced_styling
Title: Test your skills: Advanced styling


URL: /en-US/docs/Learn/Forms/UI_pseudo-classes
Title: UI pseudo-classes


URL: /en-US/docs/Learn/Forms/Test_your_skills:_Form_validation
Title: Test your skills: Form validation


URL: /en-US/docs/Learn/Forms/Test_your_skills:_Styling_basics
Title: Test your skills: Styling basics


URL: /en-US/docs/Learn/Forms/Basic_native_form_controls
Title: Basic native form controls


URL: /en-US/docs/Learn/Forms/Sending_and_retrieving_form_data
Title: Sending form data


URL: /en-US/docs/Learn/Forms/How_to_build_custom_form_controls
Title: How to build custom form controls


URL: /en-US/docs/Learn/Forms/Test_your_skills:_Other_controls
Title: Test your skills: Other controls


URL: /en-US/docs/Learn/Forms/Form_validation
Title: Client-side form validation


URL: /en-US/docs/Learn/Forms/Your_first_form
Title: Your first form


URL: /en-US/docs/Learn/Forms/Test_your_skills:_Form_structure
Title: Test your skills: Form structure


URL: /en-US/docs/Learn/Forms/Other_form_controls
Title: Other form controls


URL: /en-US/docs/Learn/Forms/Styling_web_forms
Title: Styling web forms


URL: /en-US/docs/Learn/Forms/Advanced_form_styling
Title: Advanced form styling


URL: /en-US/docs/Learn/Forms/Test_your_skills:_HTML5_controls
Title: Test your skills: HTML5 controls


URL: /en-US/docs/Learn/Forms/HTML5_input_types
Title: The HTML5 input types


URL: /en-US/docs/Learn/Accessibility
Title: Accessibility


URL: /en-US/docs/Learn/Accessibility/What_is_accessibility
Title: What is accessibility?


URL: /en-US/docs/Learn/Accessibility/Test_your_skills:_HTML_accessibility
Title: Test your skills: HTML accessibility


URL: /en-US/docs/Learn/Accessibility/WAI-ARIA_basics
Title: WAI-ARIA basics


URL: /en-US/docs/Learn/Accessibility/WAI-ARIA_basics/Test_your_skills:_WAI-ARIA
Title: Test your skills: WAI-ARIA


URL: /en-US/docs/Learn/Accessibility/Mobile
Title: Mobile accessibility


URL: /en-US/docs/Learn/Accessibility/CSS_and_JavaScript
Title: CSS and JavaScript accessibility best practices


URL: /en-US/docs/Learn/Accessibility/CSS_and_JavaScript/Test_your_skills:_CSS_and_JavaScript_accessibility
Title: Test your skills: CSS and JavaScript accessibility


URL: /en-US/docs/Learn/Accessibility/HTML
Title: HTML: A good basis for accessibility


URL: /en-US/docs/Learn/HTML/Howto/Define_terms_with_HTML
Title: Define terms with HTML


URL: /en-US/docs/Learn/HTML/Howto/Use_data_attributes
Title: Using data attributes


URL: /en-US/docs/Learn/HTML/Howto/Add_a_hit_map_on_top_of_an_image
Title: Add a hitmap on top of an image


URL: /en-US/docs/Learn/HTML/Multimedia_and_embedding
Title: Multimedia and embedding


URL: /en-US/docs/Learn/HTML/Multimedia_and_embedding/Other_embedding_technologies
Title: From object to iframe — other embedding technologies


URL: /en-US/docs/Learn/HTML/Multimedia_and_embedding/Images_in_HTML
Title: Images in HTML


URL: /en-US/docs/Learn/HTML/Multimedia_and_embedding/Images_in_HTML/Test_your_skills:_HTML_images
Title: Test your skills: HTML images


URL: /en-US/docs/Learn/HTML/Multimedia_and_embedding/Adding_vector_graphics_to_the_Web
Title: Adding vector graphics to the web


URL: /en-US/docs/Learn/HTML/Multimedia_and_embedding/Mozilla_splash_page
Title: Mozilla splash page


URL: /en-US/docs/Learn/HTML/Multimedia_and_embedding/Video_and_audio_content
Title: Video and audio content


URL: /en-US/docs/Learn/HTML/Multimedia_and_embedding/Video_and_audio_content/Test_your_skills:_Multimedia_and_embedding
Title: Test your skills: Multimedia and embedding


URL: /en-US/docs/Learn/HTML/Tables
Title: HTML tables


URL: /en-US/docs/Learn/HTML/Tables/Advanced
Title: HTML table advanced features and accessibility


URL: /en-US/docs/Learn/HTML/Tables/Basics
Title: HTML table basics


URL: /en-US/docs/Learn/HTML/Introduction_to_HTML
Title: Introduction to HTML


URL: /en-US/docs/Learn/HTML/Introduction_to_HTML/The_head_metadata_in_HTML
Title: What's in the head? Metadata in HTML


URL: /en-US/docs/Learn/HTML/Introduction_to_HTML/Test_your_skills:_HTML_text_basics
Title: Test your skills: HTML text basics


URL: /en-US/docs/Learn/HTML/Introduction_to_HTML/Test_your_skills:_Links
Title: Test your skills: Links


URL: /en-US/docs/Learn/HTML/Introduction_to_HTML/Test_your_skills:_Advanced_HTML_text
Title: Test your skills: Advanced HTML text


URL: /en-US/docs/Learn/HTML/Introduction_to_HTML/Creating_hyperlinks
Title: Creating hyperlinks

(comment last updated: 2024-08-06 10:30:28)

LostBeard and others added 2 commits July 25, 2024 12:24
* Fixed instanceof summary to better match instance of page

* Update files/en-us/web/javascript/guide/expressions_and_operators/index.md

---------

Co-authored-by: Joshua Chen <[email protected]>
Copy link
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions github-actions bot added the merge conflicts 🚧 [PR only] label Jul 25, 2024
dependabot bot and others added 6 commits July 25, 2024 13:47
Bumps [husky](https://github.com/typicode/husky) from 9.1.1 to 9.1.2.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](typicode/husky@v9.1.1...v9.1.2)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Convert noteblocks for learn/forms folder

This PR converts the noteblocks for the 'learn/forms' folder to GFM syntax, using a [conversion script](https://github.com/queengooborg/mdn-toolkit/blob/main/upgrade-noteblock.js).

* Fix formatting
… (mdn#35006)

* Updates api/element/Element:QuerySelectorAll() example, fixes mdn#35003

* feat: remove unused example

* Update index.md

* Update files/en-us/web/api/element/queryselectorall/index.md

---------

Co-authored-by: Joshua Chen <[email protected]>
* Convert noteblocks for learn/html folder

This PR converts the noteblocks for the 'learn/html' folder to GFM syntax, using a [conversion script](https://github.com/queengooborg/mdn-toolkit/blob/main/upgrade-noteblock.js).

* Fix formatting

* Update files/en-us/learn/html/introduction_to_html/debugging_html/index.md

---------

Co-authored-by: Estelle Weyl <[email protected]>
@bsmth bsmth added Content:HTTP HTTP docs and removed Content:CSS Cascading Style Sheets docs Content:WebExt WebExtensions docs Content:WebAPI Web API docs Content:Learn Learning area docs Content:Other Any docs not covered by another "Content:" label Content:Accessibility Accessibility docs Content:Learn:Django Learning area Django docs Content:Learn:Express Learning area Express docs Content:Glossary Glossary entries Content:Games Games docs Content:Learn:Client-side Content under “Client-side JavaScript frameworks” (Svelte, React, Angular, Vue) and related subtrees Content:Learn:JavaScript Learning area JavaScript docs Content:Firefox Content in the Mozilla/Firefox subtree Content:Meta Content in the meta docs Content:Learn:CSS Learning area CSS docs Content:Learn:HTML Learning area HTML docs Content:Learn:Accessibility Accessibility documentation in the Learn Area Content:Learn:Forms Learning area Forms docs Content:Learn:Cross-Browser-Testing Learning area Cross-Browser-Testing docs merge conflicts 🚧 [PR only] Content:Learn:GitHub system [PR only] Infrastructure and configuration for the project labels Aug 6, 2024
@bsmth bsmth deleted the 20741-payload-content branch August 6, 2024 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:HTTP HTTP docs size/m [PR only] 51-500 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTTP Payload Header page should be updated to use "content" term