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