-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Description
Description
Issue: Inconsistent capitalization in HTTP method documentation links
User feedback transferred from UUF system:
This issue was identified by a user who provided the following feedback (translated) :
"in the Requests the HTTPMethod names are translated, this is not correct: OPTIONS => OPTIONS, DELETE => DELETE, TRACE => TRACE, CONNECT => CONNECT"
The feedback correctly points out that all HTTP method names should remain consistent in their capitalization in both the link text and the URL.
Problem Statement:
In the .http files documentation (aspnetcore/test/http-files.md), there's an inconsistency in the URLs linking to the Mozilla Developer Network (MDN) documentation for HTTP methods. While most method names in the URLs are properly capitalized (OPTIONS, GET, HEAD, etc.), the PUT method URL uses lowercase ("put"). This inconsistency may lead to broken links as MDN URLs are case-sensitive.
*Problem
The HTTP methods section (around line 46) contains:
* [PUT](https://developer.mozilla.org/docs/Web/HTTP/Methods/put)While all other methods use uppercase in their URLs:
* [OPTIONS](https://developer.mozilla.org/docs/Web/HTTP/Methods/OPTIONS)
* [DELETE](https://developer.mozilla.org/docs/Web/HTTP/Methods/DELETE)
* [TRACE](https://developer.mozilla.org/docs/Web/HTTP/Methods/TRACE)
* [CONNECT](https://developer.mozilla.org/docs/Web/HTTP/Methods/CONNECT)Solution:
Update the PUT method URL to use uppercase "PUT" instead of lowercase "put" to maintain consistency with other method links and ensure the link works correctly.
Specific Change Required:
In file: aspnetcore/test/http-files.md
Change line 46 from:
* [PUT](https://developer.mozilla.org/docs/Web/HTTP/Methods/put)To:
* [PUT](https://developer.mozilla.org/docs/Web/HTTP/Methods/PUT)Page URL
https://learn.microsoft.com/en-us/aspnet/core/test/http-files?view=aspnetcore-9.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/test/http-files.md
Document ID
26f1374f-556a-35fc-cc42-b8911746db80
Platform Id
816aec78-770f-4b7d-c919-4cdece185115
Article author
Metadata
- ID: 26f1374f-556a-35fc-cc42-b8911746db80
- PlatformId: 816aec78-770f-4b7d-c919-4cdece185115
- Service: aspnet-core
- Sub-service: testing