Questions tagged [http-status-code-406]

The HTTP response status code 406 Not Acceptable

The requested resource is only capable of generating content not acceptable according to the Accept headers sent in the request.

See also RFC2616.

176 questions
0
votes
1 answer

406 Not Acceptable only in Safari

406 Not Acceptable An appropriate representation of the requested resource / could not be found on this server. I migrated servers from hostgator to dedicated. Now, a blank index.html page is throwing this error ONLY in safari (desktop &…
0
votes
1 answer

http 406 error with soap request

I have created a webservice with soap requests. now the domain has changed on a different server (metanet). The problem is that all my soap requests done from my android devices generate a 406 error. also If I try the service with the soapui tool it…
schurtertom
  • 520
  • 1
  • 9
  • 19
0
votes
2 answers

Rails 406 for .js.erb

I know this has been asked a lot, but I've looked at all the simple solutions and they're not working. Firstly, .js.erb responses are working for all my other controllers...I generated a new controller and it won't respond to .js.erb def report …
Kevin Brown
  • 12,602
  • 34
  • 95
  • 155
0
votes
1 answer

Non User Agent Denied

I'm reeealy stuck and way over my head. I've got a e-commerce site set up with woocommerce and realex (the merchant company). I'm having problems with the response URL, it is being denied when programmatic (non user-agent) requests are being…
0
votes
0 answers

HTTP error (406): Ruby on Rails and Savon

Well I'm using Savon to consume a wash_out SOAP server. Everything seems all right because I can send my SOAP messages and the server can save them into a mysql database. My problem comes after my client send the request because I'm receiving an…
Uriel Hernández
  • 731
  • 3
  • 9
  • 23
0
votes
1 answer

Rest Sharp - 406 Error - No match for accept header

I'm getting a 406 error when trying to use RestSharp to post a request to a third-party application. I'm new to REST, so I have to admit I didn't even know you could add headers. I tried adding these, but I'm still getting the same issue: var…
Narnian
  • 3,858
  • 1
  • 26
  • 29
0
votes
1 answer

How can I re-build nested attributes fields on form validation errors in Rails 3

I have a simple form for Recommendations. REcommendations has_many Assets. so in my controller I am doing a simple: 6.times {@recommendation.assets.build} My issue occurs when I try to save the Recommendation and there are Validation errors. My…
0
votes
1 answer

406 Not Acceptable error GET parameter issue?

Can anyone please tell me why the following URL returns a 406 error: http://kolek.to/functions/remote-upload.php?url=http%3A%2F%2Fben-major.co.uk%2Fhosting%2Fbm-equipment%2Faxe-2.jpg&item_id=2 Removing the ?url= parameter seems to make everything…
BenM
  • 52,573
  • 26
  • 113
  • 168
0
votes
2 answers

Cross-domain without php proxy

In this page I have embedded a Google Map using Javascript and loading data from a static KML file loaded on my domain. I want to improve my map loading data from a dynamic KML file stored on google servers (Network link), but this cannot be done…
Alain1405
  • 2,259
  • 2
  • 21
  • 40
-1
votes
1 answer

Content-Type in Content negotiation

I'm having trouble understanding something about Content Negotiation in HTTP protocol. I understand that when the header Accept is sent in a request, it's telling the server that it expects the response in that format. For instance, if the Header…
RuiDTLima
  • 35
  • 1
  • 9
-1
votes
1 answer

Error in open.connection(x,"rb") : HTTP error 406

I am trying to read the contents of a website using read_htmlin R. However, for some websites like http://benchmarkrealestate.com/, I get this error. Error in open.connection(x,"rb") : HTTP error 406 What does this error mean? This only happens in…
thehydrogen
  • 73
  • 1
  • 2
  • 10
1 2 3
11
12