def http_header(value):
    """Converts Django HTTP headers to standard format
    e.g.
      HTTP_ACCEPT -> Accept
      HTTP_CACHE_CONTROL -> Cache-Control
    """
    parts = value.split('_')
    header_parts = [part.title() for part in parts[1:]]
    formatted = '-'.join(header_parts)
    return formatted