imgflo / imgflo-server

HTTP image processing server based on imgflo
48 stars 7 forks source link

Chained processing requests not working #47

Closed jonnor closed 8 years ago

jonnor commented 8 years ago

For example this gives 503 in production, but not locally: https://imgflo.herokuapp.com/graph/vahj1ThiexotieMo/81c7217c837a5f4e488be8767fd4cec1/passthrough.jpg?input=https%3A%2F%2Fimgflo.herokuapp.com%2Fgraph%2Fvahj1ThiexotieMo%2F081cdd5a2e1e54a9d69b4b9d39fb84b6%2Fcroprotate.jpg%3Finput%3Dhttp%253A%252F%252Fi.ytimg.com%252Fvi%252Fwk-PY2dBKaA%252Fhqdefault.jpg%26degrees%3D0%26x%3D0%26y%3D45%26cropwidth%3D480%26cropheight%3D270&width=480&height=270

Think it is due to wrong/missing content-type: #42

jonnor commented 8 years ago

Working now for new requests. https://imgflo.herokuapp.com/graph/vahj1ThiexotieMo/f2d693655b84397fa258d884f05333a6/gaussianblur?input=https%3A%2F%2Fimgflo.herokuapp.com%2Fgraph%2Fvahj1ThiexotieMo%2F1fa11b405d1d16f0c6639026a38d5eed%2Fcustomgrey%3Finput%3Dhttp%253A%252F%252Fwww.southernhillsanimalhospital.com%252Fsites%252Fsite-1450%252Fimages%252Fkittens.jpg

Using already-processed imgflo URLs as input may fail, because we have not retroactively updated Content-Type of cached files.