<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>On the ROA &#187; RESTful Design</title>
	<atom:link href="http://depts.washington.edu/ontheroa/?feed=rss2&#038;cat=5" rel="self" type="application/rss+xml" />
	<link>http://depts.washington.edu/ontheroa</link>
	<description>The UW blog for all things Resource Oriented Architecture &#38; web services - email appdev@u.washington.edu</description>
	<lastBuildDate>Mon, 13 May 2013 17:41:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>A non-RESTful experiment</title>
		<link>http://depts.washington.edu/ontheroa/?p=703</link>
		<comments>http://depts.washington.edu/ontheroa/?p=703#comments</comments>
		<pubDate>Wed, 13 Apr 2011 19:25:26 +0000</pubDate>
		<dc:creator>boren</dc:creator>
				<category><![CDATA[RESTful Design]]></category>
		<category><![CDATA[Web Services]]></category>

		<guid isPermaLink="false">http://depts.washington.edu/ontheroa/?p=703</guid>
		<description><![CDATA[As an experiment and to gain insight, Computer Science recently developed a non-RESTful webservice to support an internal process.  This article discusses the motivations and outcomes of the experiment, comparing the advantages and disadvantages of this against a RESTful approach.]]></description>
			<content:encoded><![CDATA[<p>As part of an ongoing effort to modernize the look and feel of the CSE web, we have begun to re-implement many of our internal tools in a more &#8220;Web 2.0-y&#8221; manner.  The front-end tool we&#8217;ve chosen is ExtJS, a javascript framework that lets you create beautiful AJAX forms that communicate with your datastore using webservices.</p>
<p>The link between ExtJS and your backend data is handled via ExtJS <em>Stores</em>, <em>Readers</em>, and <em>Writers</em>.  Stores are configured with the URLs of your webservice.  One of the more interesting configuration options for these stores is <code>restful</code>, a boolean which tells the proxy whether to behave in a RESTful manner or using its own POST based CRUD operations.  The default for <code>restful</code> is false.</p>
<p>The &#8220;Times Away&#8221; tool is an internal utility that CSE uses to allow faculty and staff to enter planned absences and which permits the display of a weekly calendar showing people who will be away from the department.  We have using RESTful webservices for internal data exchange for some time, but when I recently re-implemented the Times Away tool, and I chose to write the backend in the non-restful way in order to see what insight I might gain.</p>
<h3>Mechanics</h3>
<p>The default data exchange scheme for ExtJS is quite simple.  All interactions with the backend use POST (though this can be reconfigured to GET).  Each POST contains an <em>action</em> parameter which can be any of the four well-known <em>create</em>, <em>read</em>, <em>update</em>, or <em>destroy</em> operations.  Other POST parameters can be supplied as needed, enabling us to do typical things,  like <em>read</em> all records for a given person.</p>
<p>ExtJS supplies subclasses for Json and XML readers and writers, both reasonable formats that are easily handled when writing your back end.  Data from a webservice can be bound to forms and grids, and can also be read directly from the store should you desire such access.  You need to make a few concessions in the format of your data (more on this below) but none of them is unreasonable.</p>
<h3>Advantages of the Plain CRUD Webservice</h3>
<ul>
<li><strong>Data are more tightly coupled to a traditional database architecture.</strong>  You&#8217;re free to convert this to a disadvantage if you like.  But in my mind, this is an application fed from a rectangular database table, and thinking in CRUD terms still feels the most natural.</li>
<li><strong>Querying data is more natural.</strong>  Asking a RESTful webservice for a subset of a resource is often accomplished using a query string.  This can seem awkward and a violation of the purity of the RESTful esthetic.  Knowing that all times away for boren might be at:
<div style='margin-left: 30px'>
<code>    http://my.server.com/times_away/boren</code>
</div>
<p>is well and good, but finding his vacation days for the month of April might look like:</p>
<div style='margin-left: 30px'>
<code>    http://my.server.com/times_away/boren?type=vacation&amp;month=4</code>
</div>
<p>On the other hand, supplying parameters specifying the desired user, type, and month, along with an action=read, seems perfectly self-consitent and in line with the way programmers commonly think.</li>
<li><strong>Side-steps the POST/PUT problem.</strong>  It has always bothered me that PUT is not widely supported by our HTTP infrastructure, leading to the need to overload the POST operation to support it.</li>
</ul>
<h3>Disdvantages of the Plain CRUD Webservice</h3>
<ul>
<li><strong>Resources are not really addressable.</strong> For this limited application, this is not really a disadvantage, but it&#8217;s not going to scale well either.  Web caches and search engines will respond well to <strong>http://my.server.com/times_away/boren</strong>, but not to <strong>http://my.server.com/times_away?user=boren</strong>.
</li>
<li><strong>Resources not easily browsable.</strong>  One of the best parts of developing a<br />
RESTful webservice (or developing against one) is simply being able to type its address into your browser and have a look at it.  With the CRUD webservice you&#8217;ll need to either write yourself a simple form or use some other tool.
</li>
<li><strong>Data format must be customized</strong>. For most imaginable uses, your payload needs to be formatted so that error conditions are communicated to the client.  For an ExtJS application, reading boren&#8217;s vacation might return:
<div style='margin-left: 30px'>
<code><br />
     {<br />
          success: true,<br />
          rows: [...]<br />
      }<br />
</code>
</div>
<p>or</p>
<div style='margin-left: 30px'>
<code><br />
     {<br />
          success: false,<br />
          message: "User not found"<br />
     }<br />
</code>
</div>
<p>While this format can easily be re-used in other ExtJS applications, it is not<br />
as universally portable and re-usable as a purely RESTful payload would be.
</li>
<li> Error handling is fragmented. For the error condition, there is a discontinuity between an HTTP 404 meaning the service itself could not be found, and a returned success=false along with an application specific error code or description explaining the problem.
</li>
</ul>
<h3>Conclusions</h3>
<p>For an application of this limited scope, the CRUD webservice approach is fine. It offers many of the same advantages of a RESTful webservice: it uses HTTP for transport, decouples read/write operations from your datastore, and handles data in an easily human-readable format.  Writing this webservice to be RESTful would have been a tiny bit more work on the back-end but not enough to matter.  And the advantages of scalability, use of widely-accepted standards for communicating success and error conditions, and the ease of universal re-use outway the small extra effort.</p>
<p>Although I started this project with a fairly open mind, I half expected to<br />
prefer the CRUD/POST by the end of the project, believing that it would be simpler to implement and understand.  Instead, I ended up reinforcing many of the advantages of REST in my own mind.  The next webservice I write will definitely be RESTful.</p>
]]></content:encoded>
			<wfw:commentRss>http://depts.washington.edu/ontheroa/?feed=rss2&amp;p=703</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Differential authorization of data within a given resource</title>
		<link>http://depts.washington.edu/ontheroa/?p=506</link>
		<comments>http://depts.washington.edu/ontheroa/?p=506#comments</comments>
		<pubDate>Mon, 19 Jul 2010 23:52:26 +0000</pubDate>
		<dc:creator>boren</dc:creator>
				<category><![CDATA[RESTful Design]]></category>

		<guid isPermaLink="false">http://depts.washington.edu/ontheroa/?p=506</guid>
		<description><![CDATA[What are the design considerations where some parts of a resource have different authorization levels than others?
]]></description>
			<content:encoded><![CDATA[<p>The ROA Tech team recently had a discussion about the form a payload might take if you were authorized to see only part of the data requested.  Imagine the following hypothetical resource and its XML representation:</p>
<div style='background-color:#EEE;width: 75%;margin: auto'>
/employee/{id} returns:</p>
<pre>

&lt;employee&gt;
      &lt;id/&gt;
      &lt;name/&gt;
      &lt;phone/&gt;
      &lt;paygrade/&gt;
      &lt;sickleave-balance/&gt;
&lt;/employee&gt;
</pre>
</div>
<p>For example, suppose that a receptionist requested such a record and that he was authorized to see name and phone number, but not the paygrade or sick leave balance.  What should be returned? There are several obivous ways of handling this situation.</p>
<p>One approach might be thought of as a &#8220;variable representation&#8221; solution.  The requester only gets back fields he is allowed to see.  Our receptionist  would get back this simplified payload, with no mention of the forbidden data:</p>
<div style='background-color:#EEE;width: 75%;margin: auto'>
<pre>
&lt;employee&gt;
      &lt;id/&gt;
      &lt;name/&gt;
      &lt;phone/&gt;
&lt;/employee&gt;
</pre>
</div>
<p>If we chose instead always to return a fixed-form representation, several possibilities arise.  We might implement access to the resource by separate public and private URIs, returning only the appropriate fields:</p>
<p>/employee/public/{id}<br />
/employee/private/{id}</p>
<p>Alternatively, we could stick with the single URI and an isomorphic payload, but fill the disallowed fields either with nulls or some sort of error value to indicate  that access is not allowed (a sort of per-field 403).</p>
<p>Is one of these solutions better than the others?  Each solution has its own strengths, and no consensus emerged during our discussion.</p>
<p>The &#8220;variable representation&#8221; solution is the one found in our own person webservice&#8211; you only get back what you&#8217;re allowed to see.  This keeps the security close to the datasource.  But it can also be hard to code against if the client needed to be smart enough to know that some fields might be invisible to some users.</p>
<p>The private/public approach is straightforward in its expectations, but cumbersome in its own way.  Now, the client might need to be smart enough to know which resource to request.   And is the public version always a subset of the public version?  A no answer has the possibility to complicate parsing of the payloads.</p>
<p>Isomorphic payloads are probably the easiest for the client to handle because the client can understand that payload without need of external knowledge of the resource&#8217;s structure or authorization model.  If all fields in the resource are to be returned (and ease of client use is the goal), it is preferable to include an error value for disallowed fields in order to disambiguate between data that are truly empty compared to those that are forbidden.</p>
<p>One final question troubles me about this last solution, though: are there cases where merely acknowledging the existence of a disallowed field represents a security concern?  Is it potentially worse to disclose that a datum exists but can&#8217;t be viewed than it is to omit it silently?  I have not been able to come up with an example of such a field, nor have I come up with a convincing argument that<br />
it should not be a concern.  Anybody want to chime in?</p>
]]></content:encoded>
			<wfw:commentRss>http://depts.washington.edu/ontheroa/?feed=rss2&amp;p=506</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>What constitutes a version change?</title>
		<link>http://depts.washington.edu/ontheroa/?p=161</link>
		<comments>http://depts.washington.edu/ontheroa/?p=161#comments</comments>
		<pubDate>Thu, 28 May 2009 19:20:36 +0000</pubDate>
		<dc:creator>rberk</dc:creator>
				<category><![CDATA[RESTful Design]]></category>
		<category><![CDATA[Web Services]]></category>

		<guid isPermaLink="false">http://depts.washington.edu/ontheroa/?p=161</guid>
		<description><![CDATA[Recently, in the ROA technical group, we discussed what constitutes a version change in our RESTful services. Many of us have adopted the versioning convention of embedding a version integer in the URI as supported in the Richardson and Ruby book /student/v3/course So when do we need to change this integer? As we add new [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, in the ROA technical group, we discussed what constitutes a version change in our RESTful services. Many of us have adopted the versioning convention of embedding a version integer in the URI as supported in the <a href="http://www.amazon.com/RESTful-Web-Services-Leonard-Richardson/dp/0596529260">Richardson and Ruby book</a></p>
<p>/student/<em>v3</em>/course</p>
<p>So when do we need to change this integer? As we add new data elements to our fledgling services, we are concerned about a proliferation of versions, and in particular, URI&#8217;s. Do we need to change URI&#8217;s with the addition of each new element? To do this too often seems to add unnecessary complexity and maintenance cost. Instead we have decided that minor changes that are &#8220;additive&#8221; do not necessitate an integer version change and consequently do not require a change to the URI.</p>
<p>By &#8220;additive&#8221; changes, we mean changes that wouldn&#8217;t break xpath queries based upon the class attribute:</p>
<p><code>/html/body/div/span[@class='foo']</code></p>
<p>as opposed to a queries based upon the ordinal relationship of elements</p>
<p><code>/html/body/div[2]/span[3]</code></p>
<p>(We consider the use of queries based on the class attribute a better development practice.)</p>
<p>One concern is that even if we don&#8217;t break clients with a version change, how do we communicate the change. We are recommending the inclusion of a programmatically parsable xhmtl version element in the root of each service that describes a fuller version, perhaps with major, minor, revision, and build.</p>
<p><code><br />
&lt;div&gt;Service Code version:<br />
&lt;span class="service_code_version"&gt;3.0.1.26481&lt;/span&gt;&lt;/div&gt;<br />
</code></p>
<p>That should allow for programmatic detection of version changes. And, of course, we still advocate application support email lists to communicate any change in service contract.</p>
<p>What do others think?</p>
]]></content:encoded>
			<wfw:commentRss>http://depts.washington.edu/ontheroa/?feed=rss2&amp;p=161</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Financial Web Service development status</title>
		<link>http://depts.washington.edu/ontheroa/?p=93</link>
		<comments>http://depts.washington.edu/ontheroa/?p=93#comments</comments>
		<pubDate>Thu, 09 Apr 2009 16:41:04 +0000</pubDate>
		<dc:creator>ssteph</dc:creator>
				<category><![CDATA[RESTful Design]]></category>
		<category><![CDATA[Web Services]]></category>

		<guid isPermaLink="false">http://depts.washington.edu/ontheroa/?p=93</guid>
		<description><![CDATA[Work continues on the Financial Web Service targeting &#8220;summer&#8221; for release. There will be six resources that comprise v1: budget, budget search, organization, organization search, vendor and vendor search; inquiry only. A data dictionary will be provided within the resource representations. The service will be publicly available.  A couple of clients have already signed up [...]]]></description>
			<content:encoded><![CDATA[<p>Work continues on the Financial Web Service targeting &#8220;summer&#8221; for release. There will be six resources that comprise v1: budget, budget search, organization, organization search, vendor and vendor search; inquiry only. A data dictionary will be provided within the resource representations. The service will be publicly available.  A couple of clients have already signed up to start using the service. If you are interested in using the service or reviewing the proposed representation attributes, let us know!</p>
]]></content:encoded>
			<wfw:commentRss>http://depts.washington.edu/ontheroa/?feed=rss2&amp;p=93</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What is ROA (Resource Oriented Architecture)?</title>
		<link>http://depts.washington.edu/ontheroa/?p=42</link>
		<comments>http://depts.washington.edu/ontheroa/?p=42#comments</comments>
		<pubDate>Tue, 24 Mar 2009 23:35:51 +0000</pubDate>
		<dc:creator>ttchang</dc:creator>
				<category><![CDATA[RESTful Design]]></category>
		<category><![CDATA[Web Services]]></category>
		<category><![CDATA[roa]]></category>

		<guid isPermaLink="false">http://depts.washington.edu/ontheroa/?p=42</guid>
		<description><![CDATA[Since this blog launched last week I received a couple questions asking us &#8220;What is ROA?&#8221;. Since this blog is named &#8220;On the ROA&#8221; it seemed necessary to answer that question! So what is ROA? &#8220;Resources Oriented Architecture is a way of turning a problem into a Restful web service: an arrangement of URIs, HTTP, [...]]]></description>
			<content:encoded><![CDATA[<p style="line-height: 14.25pt;"><span style="font-size: 10pt; color: black; font-family: &quot;Georgia&quot;,&quot;serif&quot;;">Since this blog launched last week I received a couple questions asking us &#8220;What is ROA?&#8221;. Since this blog is named &#8220;On the ROA&#8221; it seemed necessary to answer that question!</span></p>
<p style="line-height: 14.25pt;"><strong><span style="font-size: 10pt; color: black; font-family: &quot;Georgia&quot;,&quot;serif&quot;;">So what is ROA?</span></strong></p>
<p style="line-height: 14.25pt;"><span style="font-size: 10pt; color: black; font-family: &quot;Georgia&quot;,&quot;serif&quot;;">&#8220;Resources Oriented Architecture is a way of turning a problem into a Restful web service: an arrangement of URIs, HTTP, and XML that works like the rest of the Web, and that programmers will enjoy using.&#8221; &#8211; Restful Web Services (Leonard Richardson, Sam Ruby)</span></p>
<p style="line-height: 14.25pt;"><span style="font-size: 10pt; color: black; font-family: &quot;Georgia&quot;,&quot;serif&quot;;">Our answer is that Resources Oriented Architecture (ROA) is an overall system design that embraces RESTful design philosophy. It has a lot of overlap with Services Oriented Architecture (decentralization and small interoperating services) but it means that instead of treating our functionality and data as service calls; we treat them as resources in the RESTful sense.</span></p>
<p style="line-height: 14.25pt;"><span style="font-size: 10pt; color: black; font-family: &quot;Georgia&quot;,&quot;serif&quot;;">In the early days of grappling with web services here at the UW many of us working in various IT departments investigated SOA (Service Oriented Architecture). During this investigation we were introduced to Pete Lacey, who introduced us to Restful web services. This led to a SOA workshop which many developers and technologists on campus attended. The idea of building Restful web services vs building SOAP web services on campus seemed to take hold probably because of the heterogeneous nature of computing here at the UW. The need to be technology agnostic in our approach to deliver data and automate processes seems to make a lot of sense in order to ensure all parts of the UW can take part in leveraging information services. In addition, </span><span style="font-size: 11pt; color: black; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-size: 11pt; color: black; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;;">the REST (Representational State Transfer) approach to constructing web services allows a very simple interface between systems (services and clients), and it scales well.</span></span></p>
<p style="line-height: 14.25pt;"><span style="font-size: 10pt; color: black; font-family: &quot;Georgia&quot;,&quot;serif&quot;;">Following the Restful path, we soon discovered that there was a term that was being used to describe an architecture based on Restful design practices: Resource Oriented Architecture.</span></p>
<p style="line-height: 14.25pt;"><span style="font-size: 10pt; color: black; font-family: &quot;Georgia&quot;,&quot;serif&quot;;">With that said, the bottom line is that the UW has a lot of information that people and applications need to access in order to keep the UW well positioned for the future. That information needs to have a low barrier for access and at the same time be safely accessible. We believe that planning our data access needs for the future using ROA and building web services based on a Restful design is one way that can help us meet this need.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://depts.washington.edu/ontheroa/?feed=rss2&amp;p=42</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Error Documents for RESTful Services</title>
		<link>http://depts.washington.edu/ontheroa/?p=9</link>
		<comments>http://depts.washington.edu/ontheroa/?p=9#comments</comments>
		<pubDate>Wed, 18 Mar 2009 22:11:42 +0000</pubDate>
		<dc:creator>mcrawfor</dc:creator>
				<category><![CDATA[RESTful Design]]></category>
		<category><![CDATA[Web Services]]></category>
		<category><![CDATA[best practices]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[rest]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://depts.washington.edu/ontheroa/?p=9</guid>
		<description><![CDATA[Where you have software, you have errors. Web services are no exception. When talking about the design of RESTful web services, a problem quickly rears its head: HTTP Status Codes are Pretty Inflexible Since we&#8217;re following RESTful principles here, we already have a tool to communicate these errors: the HTTP status code. Now &#8211; this [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://catalysttools.washington.edu/quickpoll/vote/mcrawfor/3436">Where you have software, you have errors.</a> Web services are no exception.  When talking about  the design of RESTful web services, a problem quickly rears its head:</p>
<p><strong>HTTP Status Codes are Pretty Inflexible</strong></p>
<p>Since we&#8217;re following RESTful principles here, we already have a tool to communicate these errors: the <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">HTTP status code</a>.  Now &#8211; this is a pretty good system as far as the transport protocol goes, and the formally defined codes available cover lots of the generic cases such as &#8220;I just don&#8217;t know what you&#8217;re asking for&#8221; and &#8220;I can&#8217;t let you see that.&#8221;  </p>
<p>But I&#8217;m pretty sure you see the problem.  My service for letting instructors grade a student&#8217;s homework may choke on a request that tries to set the grade to &#8217;4.2&#8242; and there&#8217;s no HTTP status code for &#8220;Grades don&#8217;t go that high.&#8221;  Some people have tried to extend or build on top of HTTP to cover some <a href="http://www.ietf.org/rfc/rfc2324.txt">important domains</a> but you can&#8217;t cover everything (or get everyone to use your extension).</p>
<p>Luckily, HTTP accounts for this with some general status codes such as &#8220;400 &#8211; The request could not be understood.&#8221;  HTTP recommends that you provide not only a status code of 400 but a document body that describes the error.  When a client sees a 400, it can dive into that payload to get more information.</p>
<p><strong>Similarities Emerge</strong></p>
<p>The ROA Technology group recently looked at the error documents that a variety of services produce, and found that the approaches were quite similar.  Based on examples from the Student Web Service, Catalyst, and <a href="http://docs.amazonwebservices.com/AmazonS3/latest/index.html?UsingRESTError.html">Amazon&#8217;s Web Services</a> offerings, we would like to offer the following recommendation.</p>
<p><strong>Recommendation</strong></p>
<p><strong>The format should be easily parseable.</strong> We recommend XHTML because of the huge number of tools that know how to parse and display it, but many other formats would do just as well.</p>
<p><strong>Three distinct elements for three distinct audiences.</strong> Three types of viewers will probably see your error messages: HTTP clients that are actually doing the transport, programmatic client code that understand the content or purpose of the service, and humans who are programming to, debuging, or using your service. So:
<ul>
<li><b>error_http_code</b> Include the numeric HTTP status code used to report this error.  Anything that knows how to react to generic HTTP codes will thank you.</li>
<li><b>error_key</b> A short, unique string that identifies the error.  This should be used to allow client code to programmatically react to errors in at a more granular level than the HTTP status code.  These should remain as static as possible to avoid breaking code!</li>
<li><b>error_description</b> A human-readable chunk of text or hypertext intended to help a user of the service identify and resolve the error.</li>
</ul>
<p><strong>These documents could be extended with new elements.</strong> Your service might have good reason to include other useful bits of information, and we encourage this as appropriate.</p>
<p><strong>An Example!</strong></p>
<p>Recommendations without examples are no good, so:</p>
<pre>&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"&gt;
  &lt;head&gt;
    &lt;title&gt;InvalidHomeworkScore&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;div class="error_http_status"&gt;400&lt;/div&gt;
    &lt;div class="error_key"&gt;InvalidHomeworkScore&lt;/div&gt;
    &lt;div class="error_description"&gt;
      The score you included in your request was not within the acceptable range
      of 0 - 100 points.
      &lt;br/&gt;
      Please refer to the
      &lt;a rel="documentation" href="http://example.com/scoring-docs"&gt;scoring documentation&lt;/a&gt;.
    &lt;/div&gt;
  &lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Great!  Now, my HTTP library can avoid caching this since it&#8217;s an error, my client code can notice &#8220;InvalidHomeworkScore&#8221; and tell my end user that they need to try again, and when I was programming my client, it was easy for me to figure out what the heck was going wrong.</p>
]]></content:encoded>
			<wfw:commentRss>http://depts.washington.edu/ontheroa/?feed=rss2&amp;p=9</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
