formpost middleware boundary woes
This is an interesting problem that I've been trying to debug myself as a non-devops, front-end person. To give the pre-req, we have a Swift cluster + Keystone auth.
We're using TempURL and FormPost middleware so we can do client side, javascript uploads. When sending data to Swift though with the appropriately generated HMAC-SHA1, it stores in Swift with the exception of the form boundaries not being split and getting storied within the file... so we're ending up with a jpeg as an example, but injected into that is the form post data:
------WebKitFor
Content-
c1ff8c2265714fe
------WebKitFor
Content-
1370538745441
------WebKitFor
Content-
99999999
------WebKitFor
Content-
10
------WebKitFor
Content-
/#
------WebKitFor
Content-
Content-Type: image/jpeg
ˇÿˇ‡JFIF
[... more fun image bin data ...]
------WebKitFor
Butttttttt whyyyyyyyyy? /var/log/syslog doesn't seem to give much detail on it. Here's the actual post occurring in browser:
Obviously a third-party can't troubleshoot if I'm missing information, so do request anything, and I'll reply. To sum it all up, shouldn't the formpost middleware be splitting those boundaries rather than leaving it/injecting it int the Swift object?
Thanks...
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Michael Scott Hertzberg
- Solved:
- Last query:
- Last reply: