Skip to content

Commit

Permalink
fix: Replace custom HTTP client code with libcurl.
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Geer committed Dec 16, 2016
1 parent 8cc43b3 commit fb1bdfc
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 439 deletions.
2 changes: 1 addition & 1 deletion config/sipi.init-knora.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function pre_flight(prefix, identifier, cookie)
end

if result.status_code ~= 200 then
print("Knora returned HTTP status code " .. ret.status)
print("Knora returned HTTP status code " .. result.status_code)
print(result.body)
return 'deny'
end
Expand Down
Loading

0 comments on commit fb1bdfc

Please sign in to comment.