# up in this month.
# XXX: need to deal with the global view, but for now API callers come in directly
if list:
- resp['X-pglm'] = ':%s:' % (':'.join(['%s/%s/%s' % (list.listid, year, month) for year, month in allyearmonths]))
resp['xkey'] = ' '.join(['pgam_{0}/{1}/{2}'.format(l.listid, year, month) for year, month in allyearmonths])
return resp
'atts': [{'id': a.id, 'name': a.filename} for a in m.attachment_set.all()],
}
for m in mlist], resp)
- resp['X-pgthread'] = msg.threadid
resp['xkey'] = 'pgat_{0}'.format(msg.threadid)
return resp
'daysinmonth': daysinmonth,
'yearmonth': yearmonth,
})
- r['X-pglm'] = ':%s:' % (':'.join(['%s/%s/%s' % (l.listid, year, month) for year, month in allyearmonths]))
r['xkey'] = ' '.join(['pgam_{0}/{1}/{2}'.format(l.listid, year, month) for year, month in allyearmonths])
return r
'lists': lists,
'nextprev': nextprev,
})
- r['X-pgthread'] = ":%s:" % m.threadid
r['xkey'] = 'pgat_{0}'.format(m.threadid)
r['Last-Modified'] = http_date(newest)
return r
'lists': lists,
'isfirst': isfirst,
})
- r['X-pgthread'] = ":%s:" % msg.threadid
r['xkey'] = 'pgat_{0}'.format(msg.threadid)
r['Last-Modified'] = http_date(newest)
return r
r = HttpResponse('This message has been hidden.', content_type='text/plain')
else:
r = HttpResponse(row[0][2], content_type='text/plain')
- r['X-pgthread'] = ":%s:" % row[0][0]
r['xkey'] = 'pgat_{0}'.format(row[0][0])
return r