Arn't HTTP headers terminated with a double new line?
my ($header,$content) = split(/\n\n/,$response->as_string());I'm no expert with split but that should be sufficient :)
___________In reply to Re: What is the best way to get the response payload
by eric256
in thread What is the best way to get the response payload
by mifflin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |