#NEWLINE# def _self_link( req , **kwargs ) : #NEWLINE# #INDENT# new_kwargs = req . GET . copy ( ) #NEWLINE# for ( k , v ) in kwargs . items ( ) : #NEWLINE# #INDENT# new_kwargs [ k ] = v #NEWLINE# #UNINDENT# kwargs_enc = new_kwargs . urlencode ( ) #NEWLINE# return ( '%s?%s' % ( req . path , req ) )