question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add xh as a plain text agent

See original GitHub issue

It would be great if xh were added as a plain text agent, so that the terminal wouldn’t be flooded with HTML markup when using xh as a request utility. 🙏 ❤️

https://github.com/chubin/wttr.in/blob/8bdc54bb7097badbb2bfb9867ccaaa42b94a6636/cmd/srv.go#L21

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
hello-smile6commented, Feb 18, 2022

#698 will make the documentation more accessible.

2reactions
hello-smile6commented, Feb 6, 2022

It would be great if xh were added as a plain text agent, so that the terminal wouldn’t be flooded with HTML markup when using xh as a request utility. 🙏 ❤️

https://github.com/chubin/wttr.in/blob/8bdc54bb7097badbb2bfb9867ccaaa42b94a6636/cmd/srv.go#L21

Just use ?A at the end of the URL.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Agent Scripts Text Field - HTML Possibility or Plain Text Only?
Hi All,. Are able to apply any formatting or HTML of any kind in the text field for the agent script step or...
Read more >
XML in HTML Meeting Report - W3C
The recommended technique for embedding RDF statements in an HTML document is simply to insert the RDF in-line. This will make the resulting ......
Read more >
What are the problems associated with serving pages with ...
One problem with content negotiation (and with serving different content/headers to different user-agents) is proxy servers.
Read more >
chubin/wttr.in: The right way to check the weather - GitHub
The ANSI and HTML formats are selected based on the User-Agent string. To force plain text, which disables colors: $ curl wttr.in/?T.
Read more >
HTTPie 3.2.1 (latest) docs
Install httpie $ python -m pip install --upgrade pip wheel $ python -m pip install ... even when the Content-Type is incorrectly text/plain...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found