Questions tagged [content-negotiation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
495 views

Getting Authentication Negotiate instead of NTLM while consuming SOAP WCF Service in Net.Core 2.1

I was trying to connect to a WCF SOAP service using NTLM Authentication Scheme, I succeeded at it when using .Net Framework 4.x but when I try to consume the same service in .NET Core 2.1 it fails (...
2
votes
1answer
1k views

Apache 2.4.7 ignores response header Content-Encoding: identity, instead respects Content-Encoding: none, set by PHP

I just realized my apparent problem (and the "solution" Content-Encoding: none from the StackOverflow question I referred to in my initial question, below) may very well have simply been due to a ...
0
votes
0answers
88 views

Make Content Negotiation work if language extension is on left side of MIME extension

The codebase I have is full of files like "foo.en.html", that should be served when "foo.html" is accessed. I know the files are supposed to be "foo.html.en", but I want to avoid a mass rename if ...
1
vote
0answers
293 views

Apache: Add header to one specific url?

I just configured some Content negotiation for my root url based on this Apache Document and it seems to work great. As my site also set a language cookie, I tested the following in my virtualhost (...
0
votes
1answer
162 views

Make MultiViews work even if the requested file does exist

From the Apache 2 docs: The effect of MultiViews is as follows: if the server receives a request for /some/dir/foo, if /some/dir has MultiViews enabled, and /some/dir/foo does not exist, then the ...
0
votes
1answer
2k views

Apache Content-Type encoding changing from UTF-8 to iso-88591 from directory to directory

I have a site running on Apache 2.2.8 (Plesk 9.5.4) For this site there is a strange behaivor the root directory only has html and it is served with the following header with is great. http://...
-1
votes
2answers
133 views

OpenID client is failing due to content negotiation on Apache representing OpenID server [closed]

This is a question about configuring Apache and accept headers. I am trying to login to Superuser with OpenID, and it generates a request like this: telnet phor.net 80 GET /professional HTTP/1.0 ...
6
votes
3answers
3k views

Configuring Apache content negotiation for languages using MultiViews

I'm attempting to get the MultiViews option working in Apache to vary the content returned to the browser based on the Accept-Language provided in requests. I've got the following configuration: ...