HTTP

Beware of redirects with Ruby’s net/http

Photo by Maik Jonietz on Unsplash Earlier last week, we learned that Ruby’s built-in net/http library contains a fundamental limitation — net/http does not automatically handle redirect status codes (3xx). As part of a feature sprint for a client, we had been tackling some functionality around PDFs issued by their system using wicked_pdf, which can generate PDFs from … Read more