optimism icon indicating copy to clipboard operation
optimism copied to clipboard

Spec and implementation disagree about URL

Open karlb opened this issue 1 year ago • 1 comments

The OP alt-DA spec requires

Request:
  POST /put
  Content-Type: application/octet-stream
  Body: <preimage_bytes>

Response:
  200 OK
  Content-Type: application/octet-stream
  Body: <hex_encoded_commitment>

But the implementation only listens at the URL /put/ (with trailing slash). Should the implementation change or the spec?

karlb avatar Aug 16 '24 10:08 karlb

This is a good catch. I lean towards saying the spec is correct and updating the implementation to handle either /put or /put/

tynes avatar Aug 20 '24 01:08 tynes