Croway opened a new pull request, #1476:
URL: https://github.com/apache/camel-website/pull/1476

   …irect to the .md page
   
   Add Accept: `text/markdown` content negotiation for LLM access.
   
   Requests with `Accept: text/markdown` header are redirected (303) to the 
corresponding .md file.
   
   Example:
   ```
   curl -H "Accept: text/markdown" .../direct-component.html → 303 redirect to 
direct-component.md
   ```
   
   For reference:
   ```
     [NC] - No Case
     - Makes the pattern match case-insensitive
     - So text/markdown, Text/Markdown, TEXT/MARKDOWN all match
   
     [R=303,L] - Two flags combined:
     - R=303 - Redirect with HTTP status code 303 (See Other)
     - L - Last rule
       - Stop processing further rewrite rules if this one matches
       - Without this, Apache continues checking subsequent rules
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to