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

Use browser DevTools to check HTTP headers #539

Merged
merged 9 commits into from
Oct 17, 2023

Conversation

xfq
Copy link
Member

@xfq xfq commented Sep 18, 2023

Fix #491.

I'll update the translations if/when it's approved.

@xfq xfq requested a review from r12a September 18, 2023 14:50
@netlify
Copy link

netlify bot commented Sep 18, 2023

Deploy Preview for i18n-drafts ready!

Name Link
🔨 Latest commit dfd01e1
🔍 Latest deploy log https://app.netlify.com/sites/i18n-drafts/deploys/652e2ffdd51bf00008cc42ee
😎 Deploy Preview https://deploy-preview-539--i18n-drafts.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

</ul>
<p>Note: W3C has no relationship to any of these services.</p>
<p>In the HTTP headers, look for the <code class="kw" translate="no">Content-Type</code> header, and in particular for the <code class="kw" translate="no">charset</code> parameter, e.g.</p>
<blockquote><code>Content-Type: text/html; charset=utf-8</code></blockquote>
<p>Note: The <code class="kw" translate="no">charset</code> parameter may not be present. This is okay if your document itself indicates its character
encoding.</p>
</section>


<section id="devtools">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already discussed a better heading.

Btw, these days i use some conventions when formatting source code that help with maintenance. If you'd like to do the same (up to you) i suggest:

  1. leaving 5-6 empty lines before a section tag (makes it much easier to skip to or find section starts)
  2. leaving one blank line after a heading
  3. removing all line indentation, but adding a blank line before each of the following tags: p, ol, li (after the first), etc.

Copy link
Member Author

@xfq xfq Oct 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the suggestion. I usually use one blank line after a section tag, and I think that's enough for me.

(Some specs use auto-generated section names in the comment, but I think that's too much.)

questions/qa-headers-charset.en.html Show resolved Hide resolved
questions/qa-headers-charset.en.html Show resolved Hide resolved
questions/qa-headers-charset.en.html Outdated Show resolved Hide resolved
@xfq xfq merged commit 2999260 into gh-pages Oct 17, 2023
4 checks passed
@xfq xfq deleted the xfq/qa-headers-charset-202309 branch October 17, 2023 07:40
@xfq
Copy link
Member Author

xfq commented Oct 17, 2023

Merging. Copied to CVS as well.

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

Successfully merging this pull request may close these issues.

[questions/qa-headers-charset] Use browser DevTools to check HTTP headers
2 participants