You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the following auto-generated request headers when sending a request:
User-Agent: Bruno/0.10.2
Accept: /
The User-Agent header value dynamically updates to the current running version of Bruno.
The Accept header indicates to the server that Bruno can handle all forms of response / content types.
Reason for the request
Accept header
It may be possible that some servers will not respond if we don't include the Accept header.
Additionally, another popular API client includes several auto-generated request headers. Adding the Accept header may remove a barrier to adoption for some users.
User-Agent header
Increases visibility of the Bruno product.
How would it work?
When displaying a request to the user, the two auto-generated request headers are displayed at the top of the headers screen. This might be best accomplished by having two sections (similar to the pre / post sections on the Vars tab)
The name / value for auto-generated headers cannot be amended
Auto-generated headers may be disabled but not deleted. When disabled, the header is not included with the request
User entered headers may have the same name as an auto-generated header. An enabled user entered header supersedes / overrides an enabled auto-generated header
When saving a request, auto-generated header values are not saved with the file. The enabled / disabled state of auto-generated headers will need to be saved to the .bru file
The text was updated successfully, but these errors were encountered:
dcoomber
changed the title
Feta
Feature request: Default request headers when creating a new request
Mar 22, 2023
dcoomber
changed the title
Feature request: Default request headers when creating a new request
Feature request: Auto-generated request headers when sending a request
Mar 22, 2023
Feature request
Add the following auto-generated request headers when sending a request:
The
User-Agent
header value dynamically updates to the current running version of Bruno.The
Accept
header indicates to the server that Bruno can handle all forms of response / content types.Reason for the request
Accept header
It may be possible that some servers will not respond if we don't include the
Accept
header.Additionally, another popular API client includes several auto-generated request headers. Adding the
Accept
header may remove a barrier to adoption for some users.User-Agent header
Increases visibility of the Bruno product.
How would it work?
.bru
fileThe text was updated successfully, but these errors were encountered: