<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def http_time(time):
 """Formats a datetime as an RFC 1123 compliant string."""

    return formatdate(timeval=mktime(time.timetuple()), localtime=False, usegmt=True)