mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Apply fixes for a couple of bug reports.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34855 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b2900f17b1
commit
26ffe755bb
4 changed files with 78 additions and 40 deletions
|
@ -26,7 +26,7 @@
|
|||
#define __NSURLResponse_h_GNUSTEP_BASE_INCLUDE
|
||||
#import <GNUstepBase/GSVersionMacros.h>
|
||||
|
||||
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION( 11300,GS_API_LATEST)
|
||||
#if OS_API_VERSION(100200,GS_API_LATEST)
|
||||
|
||||
#import <Foundation/NSObject.h>
|
||||
|
||||
|
@ -67,6 +67,17 @@ extern "C" {
|
|||
expectedContentLength: (NSInteger)length
|
||||
textEncodingName: (NSString *)name;
|
||||
|
||||
#if OS_API_VERSION(100700,GS_API_LATEST)
|
||||
/**
|
||||
* Initialises the receiver with the URL, statusCode, HTTPVersion, and
|
||||
* headerFields provided.
|
||||
*/
|
||||
- (id) initWithURL: (NSURL*)URL
|
||||
statusCode: (NSInteger)statusCode
|
||||
HTTPVersion: (NSString*)HTTPVersion
|
||||
headerFields: (NSDictionary*)headerFields;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Returns the receiver's MIME type.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue