• #dev 2018-08-03
  • Prev
    Next
  • #indieweb
  • #dev
  • #wordpress
  • #meta
  • #stream
  • #microformats
  • #known
  • #events
#dev ≡
  • ←
  • →
2018-08-03 UTC
# 09:18
Zegnat
According to RFC 7231 it is perfectly valid to return a 201 Created status even if you have created multiple files (say: a bmp and png). The Location header should link to the “primary resource”, which I would say is the file the user was uploading (the bmp), but you are allowed to point at alternates (the png) in the same response.