def _parse_queue_message_from_headers(response):
message = QueueMessage()<EOL>message.pop_receipt = response.headers.get('<STR_LIT>')<EOL>message.time_next_visible = parser.parse(response.headers.get('<STR_LIT>'))<EOL>return message<EOL>
Extracts pop receipt and time next visible from headers.