jenssegers / php-proxy

A PHP proxy script with https and post support
https://jenssegers.com
933 stars 266 forks source link

added example block to handle bad responses #84

Closed ab-kily closed 3 years ago

ab-kily commented 3 years ago

Hello!

Thank you for such a great library!

My PR contains example code to handle bad responses. I think it may be useful to setup one-to-one web site mirroring.

tyler-ham commented 3 years ago

These instructions are just what I needed to ensure that upstream error responses pass through properly.