StackOverflow Questions for Tag: http-accept-header

Patryk Chmiel
Patryk Chmiel

Reputation: 1

Return "text/plain" while ignoring 'Accept' header

Score: 0

Views: 9936

Answers: 2

Read More
Oscar
Oscar

Reputation: 590

Can I be sure that the application/json header is only set on ajax requests?

Score: 0

Views: 35

Answers: 0

Read More
iKingNinja
iKingNinja

Reputation: 403

StringValues.Contains() always returns false

Score: 0

Views: 169

Answers: 1

Read More
jgawrych
jgawrych

Reputation: 3541

In apache's mod_rewrite, how can I write a RewriteCond to match the http accept header for all html types?

Score: 0

Views: 54

Answers: 1

Read More
Karen Shahmuradyan
Karen Shahmuradyan

Reputation: 5

How to check if browser accepting webp images?

Score: 0

Views: 3178

Answers: 2

Read More
SScotti
SScotti

Reputation: 2338

Does Laravel automatically process the Accept Headers such that it chooses the best route to match the response format if there are multiple?

Score: 1

Views: 501

Answers: 0

Read More
William Entriken
William Entriken

Reputation: 39313

Is Access-Control-Allow-Origin required for the preflight AND the actual request?

Score: 1

Views: 76

Answers: 1

Read More
tRuEsAtM
tRuEsAtM

Reputation: 3678

How to configure ASP.NET Core Web API to only accept `application/json`?

Score: 5

Views: 5677

Answers: 2

Read More
khteh
khteh

Reputation: 3976

react-dropzone error TS2322: Type 'string | { "image/*": string[]; }' is not assignable to type 'Accept'

Score: 0

Views: 928

Answers: 1

Read More
Stewart
Stewart

Reputation: 18313

NotAcceptableException (HTTP 406 Not Acceptable) but no apparent error from MessageBodyWriter

Score: 4

Views: 1079

Answers: 2

Read More
tRuEsAtM
tRuEsAtM

Reputation: 3678

REST Response adds \ - Media Type application/json vs text/plain

Score: 1

Views: 434

Answers: 0

Read More
Asad Ali
Asad Ali

Reputation: 3

Accept type is invalid , INVALID_ACCEPT_TYPE.GMP_ITEM_QUERY_API ( Walmart ItemSearch API Error )

Score: 0

Views: 680

Answers: 1

Read More
Gunter Zeilinger
Gunter Zeilinger

Reputation: 131

How to specify to accept multipart/related content type with particular content types for body part in the accept header field

Score: 7

Views: 14201

Answers: 2

Read More
Jimmy
Jimmy

Reputation: 285

How can i make the page accept the mimetype in asp.net

Score: 1

Views: 546

Answers: 1

Read More
Martin B
Martin B

Reputation: 31

How can I stop sending accept-headers?

Score: 1

Views: 222

Answers: 0

Read More

httpmediatypenotacceptableexception spring mvc

Score: 0

Views: 393

Answers: 1

Read More
Cleo
Cleo

Reputation: 136

Why RequestMappings with the same URL but producing different MediaTypes works?

Score: 1

Views: 860

Answers: 1

Read More
Michael
Michael

Reputation: 71

Using curl with a --config file

Score: 4

Views: 16303

Answers: 1

Read More
webworm
webworm

Reputation: 11019

Dynamic 365 API only returns XML despite Request for JSON

Score: 0

Views: 2070

Answers: 2

Read More
Max N.
Max N.

Reputation: 1145

nginx error pages based on accept header do not work for json requests

Score: 2

Views: 2216

Answers: 1

Read More
PreviousPage 1Next