<commit_before>MWURLOperation is a simple NSOperation subclass for performing a network operation. In the future it may include subclasses which handle OAuth support.

**NOTE: This class is not-yet production ready!**

Features
========

* Asynchronous loading of URL resources
* Completely self-contained object including the request and response
* Simple blocks-based callback APIs
* Background thread processing to keep your UI snappy
* Blocks-based content parsing based on the response's Content-Type (so you can snap in whatever JSON-parsing framework you like)

To Use
======

1. Import the class into your project
2. Create an instance for the URL you want to load
3. Set properties on it (e.g. GET/POST, body, headers, etc.)
4. Set a completion block on it, along with other callbacks (such as when an error is detected)
5. Add the operation to an NSOperationQueue
6. Query the operation for the response data in the completion block

Wish List
=========

* OAuth support (ideally a snap-in authentication system that supports multiple auth types)
* Automatic content parsers for XML, binary plists, images, etc.
* More easy-to-use configuration options (e.g. setUserAgent: or setEntityTag:, as opposed to setting those headers manually)
* Saving downloads directly to disk, being able to query for their data later, and file caching

License
=======

**tl;dr: It's the BSD license, so use it in whatever. Just drop me a line in your about box.**

Copyright (c) 2011, Mustacheware
All rights reserved.

Redistribution and use in source and binary forms, with or without 
modification, are permitted provided that the following conditions  
are met:
<commit_msg>Updated attribution<commit_after>MWURLOperation is a simple NSOperation subclass for performing a network operation. In the future it may include subclasses which handle OAuth support.

**NOTE: This class is not-yet production ready!**

Features
========

* Asynchronous loading of URL resources
* Completely self-contained object including the request and response
* Simple blocks-based callback APIs
* Background thread processing to keep your UI snappy
* Blocks-based content parsing based on the response's Content-Type (so you can snap in whatever JSON-parsing framework you like)

To Use
======

1. Import the class into your project
2. Create an instance for the URL you want to load
3. Set properties on it (e.g. GET/POST, body, headers, etc.)
4. Set a completion block on it, along with other callbacks (such as when an error is detected)
5. Add the operation to an NSOperationQueue
6. Query the operation for the response data in the completion block

Wish List
=========

* OAuth support (ideally a snap-in authentication system that supports multiple auth types)
* Automatic content parsers for XML, binary plists, images, etc.
* More easy-to-use configuration options (e.g. setUserAgent: or setEntityTag:, as opposed to setting those headers manually)
* Saving downloads directly to disk, being able to query for their data later, and file caching

Attribution
===========

This project includes the following open-source code:

* NSData+Base64, from Colloquy (<NAME>, <NAME>, and <NAME>)

License
=======

**tl;dr: It's the BSD license, so use it in whatever. Just drop me a line in your about box.**

Copyright (c) 2011, Mustacheware
All rights reserved.

Redistribution and use in source and binary forms, with or without 
modification, are permitted provided that the following conditions  
are met:

{'fraction_non_alphanumeric': 0.07169486664754804, 'fraction_numerical': 0.006309148264984227, 'mean_word_length': 4.671544715447155, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1000182', 'n_tokens_mistral': 919, 'n_tokens_neox': 876, 'n_words': 500}