Changeset d4b2805 for apps/ministreaming


Ignore:
Timestamp:
Jul 4, 2011 2:26:35 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
1f3f17c
Parents:
4304458
Message:
  • EepGet?: Add method to add extra headers to request
File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketEepGet.java

    r4304458 rd4b2805  
    182182                   "Pragma: no-cache\r\n" +
    183183                   "User-Agent: " + USER_AGENT + "\r\n" +
    184                    "Connection: close\r\n\r\n");
     184                   "Connection: close\r\n");
     185        if (_extraHeaders != null) {
     186            for (String hdr : _extraHeaders) {
     187                buf.append(hdr).append("\r\n");
     188            }
     189        }
     190        buf.append("\r\n");
    185191        return buf.toString();
    186192    }
Note: See TracChangeset for help on using the changeset viewer.