qucosa/sword-fedora

Logs error when X-No-Op header is false

claussni opened this issue · 1 comments

The SWORD Deposit logs an error if a request has X-No-Op header set to false but continues to process the request:

10:45:37,269 ERROR [org.purl.sword.server.DepositServlet] X_NO_OP value is false

The specification doesn't say anything about what to do when this header value is false. But it's for sure not an error.

TODO

Reduce log level for this message to DEBUG.

It's actually a problem in the ancient SWORD library: https://github.com/swordapp/SWORDv1-Common/blob/master/src/main/java/org/purl/sword/server/DepositServlet.java#L287

The project looks abandoned.