[ckan-changes] [ckan/ckan] 8369d3: Fixes #2412 by checking for less correct 400 respo...

GitHub noreply at github.com
Tue Jun 9 11:56:20 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: 8369d3396a192fd9621e14870420679968cda8b6
      https://github.com/ckan/ckan/commit/8369d3396a192fd9621e14870420679968cda8b6
  Author: Matt Fullerton <mattfullerton at users.noreply.github.com>
  Date:   2015-05-07 (Thu, 07 May 2015)

  Changed paths:
    M ckanext/resourceproxy/controller.py

  Log Message:
  -----------
  Fixes #2412 by checking for less correct 400 response

Although the code checks for Error 405 which would be the correct response from a server when HEAD is not supported, I have come across a server where 400 is issued with the text "Invalid method in request", which essentially seems to mean the same thing. If we check for this too we can save problems with annoying servers.


  Commit: 33034ef981c5b0233ce73bbcf0dda8082b5af9e6
      https://github.com/ckan/ckan/commit/33034ef981c5b0233ce73bbcf0dda8082b5af9e6
  Author: amercader <amercadero at gmail.com>
  Date:   2015-06-09 (Tue, 09 Jun 2015)

  Changed paths:
    M ckanext/resourceproxy/controller.py

  Log Message:
  -----------
  Merge branch 'patch-2' of https://github.com/mattfullerton/ckan into mattfullerton-patch-2


  Commit: c13528dcf674214f3bceeaef532317dff03fc001
      https://github.com/ckan/ckan/commit/c13528dcf674214f3bceeaef532317dff03fc001
  Author: amercader <amercadero at gmail.com>
  Date:   2015-06-09 (Tue, 09 Jun 2015)

  Changed paths:
    M ckanext/resourceproxy/controller.py

  Log Message:
  -----------
  Merge branch 'mattfullerton-patch-2'


Compare: https://github.com/ckan/ckan/compare/2b27a58b9d9a...c13528dcf674


More information about the ckan-changes mailing list